lib/souls/cli/gcloud/run/index.rb in souls-0.70.2 vs lib/souls/cli/gcloud/run/index.rb in souls-0.70.3
- old
+ new
@@ -20,13 +20,11 @@
raise(Thor::Error, e)
end
desc "get_endpoint", "Show Worker's Endpoint"
def get_endpoint(worker_name: "")
- app_name = Souls.configuration.app
project_id = Souls.configuration.project_id
- `gcloud run services list --project #{project_id}
- | grep ##{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