Skip to content

Commit

Permalink
case change in cli response
Browse files Browse the repository at this point in the history
  • Loading branch information
TimHess committed Oct 11, 2022
1 parent 3fa3a11 commit 58a0427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pysteel/cloudfoundry.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_api_endpoint(self):
cmd_s = 'cf target'
cmd = command.Command(self._context, cmd_s)
cmd.run()
m = re.search(r'^api endpoint:\s*(.*)', cmd.stdout, re.MULTILINE)
m = re.search(r'^API endpoint:\s*(.*)', cmd.stdout, re.MULTILINE)
if not m:
raise Exception("couldn't guess domain; cf target did not return api endpoint")
return m.group(1)
Expand Down

0 comments on commit 58a0427

Please sign in to comment.