Skip to content

Commit

Permalink
Revert certs change
Browse files Browse the repository at this point in the history
  • Loading branch information
maddieford committed Dec 22, 2022
1 parent dd9d8da commit 7711ae2
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions azurelinuxagent/common/protocol/goal_state.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,13 @@ def extensions_goal_state(self):
else:
return self._extensions_goal_state

@property
def certs(self):
if not self._goal_state_properties & GoalStateProperties.ExtensionsGoalState:
raise ProtocolError("Certificates is not in goal state properties")
else:
return self._certs

@property
def hosting_env(self):
if not self._goal_state_properties & GoalStateProperties.HostingEnv:
Expand Down

0 comments on commit 7711ae2

Please sign in to comment.