lib/souls/cli/gcloud/run/index.rb in souls-1.5.2 vs lib/souls/cli/gcloud/run/index.rb in souls-1.5.3
- old
+ new
@@ -21,10 +21,10 @@
end
desc "get_endpoint", "Show Worker's Endpoint"
def get_endpoint(worker_name: "")
project_id = Souls.configuration.project_id
- `gcloud run services list --project #{project_id} | grep -x #{worker_name} | awk '{print $4}'`
+ `gcloud run services list --project #{project_id} | grep #{worker_name} | awk '{print $4}'`
rescue Thor::Error => e
raise(Thor::Error, e)
end
end
end