Skip to content

Commit

Permalink
corosync
Browse files Browse the repository at this point in the history
  • Loading branch information
liangxin1300 committed Jul 21, 2021
1 parent c03e93c commit 3bcc011
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crmsh/bootstrap.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,8 @@ def load_profiles(self):
env_name = USER_CUSTOMIZED
with open(PROFILES_FILE) as f:
data = yaml.load(f, Loader=yaml.SafeLoader)
self.profiles_dict = data[env_name]
if env_name in data:
self.profiles_dict = data[env_name]


_context = None
Expand Down

0 comments on commit 3bcc011

Please sign in to comment.