Skip to content

Commit

Permalink
Linter warning
Browse files Browse the repository at this point in the history
  • Loading branch information
narrieta committed Sep 23, 2020
1 parent 2162c98 commit f00f9fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions azurelinuxagent/common/protocol/wire.py
Original file line number Diff line number Diff line change
Expand Up @@ -708,8 +708,8 @@ def update_goal_state(self, forced=False):
self._save_goal_state()
self._update_host_plugin(new_goal_state.container_id, new_goal_state.role_config_name)

except Exception as e: # pylint: disable=C0103
raise ProtocolError("Error processing goal state: {0}".format(ustr(e)))
except Exception as exception:
raise ProtocolError("Error processing goal state: {0}".format(ustr(exception)))

def try_update_goal_state(self):
"""
Expand Down

0 comments on commit f00f9fe

Please sign in to comment.