Skip to content

Commit

Permalink
Fixed style issues. (#30)
Browse files Browse the repository at this point in the history
Co-authored-by: Haroon Feisal <[email protected]>
  • Loading branch information
runefa and Haroon Feisal authored Mar 21, 2022
1 parent 988bf60 commit bf0855c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/containerapp/azext_containerapp/custom.py
Original file line number Diff line number Diff line change
Expand Up @@ -1054,8 +1054,8 @@ def create_or_update_github_action(cmd,
logger.warning('Verified GitHub repo and branch')
except BadCredentialsException as e:
raise ValidationError("Could not authenticate to the repository. Please create a Personal Access Token and use "
"the --token argument. Run 'az webapp deployment github-actions add --help' "
"for more information.") from e
"the --token argument. Run 'az webapp deployment github-actions add --help' "
"for more information.") from e
except GithubException as e:
error_msg = "Encountered GitHub error when accessing {} repo".format(repo)
if e.data and e.data['message']:
Expand Down Expand Up @@ -1172,8 +1172,8 @@ def delete_github_action(cmd, name, resource_group_name, token=None, login_with_
raise ValidationError("The token does not have appropriate access rights to repository {}.".format(repo))
except BadCredentialsException as e:
raise CLIInternalError("Could not authenticate to the repository. Please create a Personal Access Token and use "
"the --token argument. Run 'az webapp deployment github-actions add --help' "
"for more information.") from e
"the --token argument. Run 'az webapp deployment github-actions add --help' "
"for more information.") from e
except GithubException as e:
error_msg = "Encountered GitHub error when accessing {} repo".format(repo)
if e.data and e.data['message']:
Expand Down

0 comments on commit bf0855c

Please sign in to comment.