You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#!/bin/sh# this is a wrapper around the simple command line client the thrift compiler# generates for this service. it assumes the server is running locally on port# 9100. run it to see more usage details.exec python3 -m my_service.my_service_thrift.remote -h localhost:9000 "$@"
but the remote moved and got a little messier so should now look like
#!/bin/sh# this is a wrapper around the simple command line client the thrift compiler# generates for this service. it assumes the server is running locally on port# {{ cookiecutter.port }} as in the OneVM. run it to see more usage details.if [ "$#"-gt 0 ];thenexec my_service/my_service_thrift/MyService-remote -h localhost:9000 "$@"else# we need to pass exactly 0 args to get docs. the -h with nothing else# causes a crash.exec my_service/my_service_thrift/MyService-remote -h localhost:9000
fi
The text was updated successfully, but these errors were encountered:
The old script looked like
but the remote moved and got a little messier so should now look like
The text was updated successfully, but these errors were encountered: