diff options
author | Brent Baude <bbaude@redhat.com> | 2015-05-29 09:18:49 -0500 |
---|---|---|
committer | Brent Baude <bbaude@redhat.com> | 2015-05-29 09:18:49 -0500 |
commit | 3c01b8e48400697362f190984ab9c96dee27a369 (patch) | |
tree | 6dfcfea791787504417fdecfa513ef7c9bfe0101 /cloudinit/config | |
parent | 3aa0fcc5983416d743fac6af1d40ca791feb23af (diff) | |
download | vyos-cloud-init-3c01b8e48400697362f190984ab9c96dee27a369.tar.gz vyos-cloud-init-3c01b8e48400697362f190984ab9c96dee27a369.zip |
Corrected spelling error on variable name
Diffstat (limited to 'cloudinit/config')
-rw-r--r-- | cloudinit/config/cc_rh_subscription.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cloudinit/config/cc_rh_subscription.py b/cloudinit/config/cc_rh_subscription.py index e57e8a07..cabebca4 100644 --- a/cloudinit/config/cc_rh_subscription.py +++ b/cloudinit/config/cc_rh_subscription.py @@ -62,12 +62,12 @@ def handle(_name, cfg, _cloud, log, _args): return_stat = sm.update_repos(sm.enable_repo, sm.disable_repo) if not return_stat: raise SubscriptionError("Unable to add or remove repos") - sm.log_sucess("rh_subscription plugin completed successfully") + sm.log_success("rh_subscription plugin completed successfully") except SubscriptionError as e: sm.log_warn(str(e)) sm.log_warn("rh_subscription plugin did not complete successfully") else: - sm.log_sucess("System is already registered") + sm.log_success("System is already registered") class SubscriptionError(Exception): @@ -97,7 +97,7 @@ class SubscriptionManager(object): self.subman = ['subscription-manager'] self.is_registered = self._is_registered() - def log_sucess(self, msg): + def log_success(self, msg): '''Simple wrapper for logging info messages. Useful for unittests''' self.log.info(msg) |