lib/souls/cli/gcloud/run/index.rb in souls-0.41.3 vs lib/souls/cli/gcloud/run/index.rb in souls-0.42.0
- old
+ new
@@ -14,10 +14,10 @@
project_id = Souls.configuration.project_id if project_id.blank?
system("gcloud run services list --project #{project_id}")
end
def get_endpoint(worker_name: "")
- system("gcloud run services list | grep #{worker_name} | awk '{print $4}'")
+ `gcloud run services list | grep #{worker_name} | awk '{print $4}'`
end
end
end
end
end