diff options
author | Robert Schweikert <rjschwei@suse.com> | 2015-06-29 10:58:59 -0400 |
---|---|---|
committer | Robert Schweikert <rjschwei@suse.com> | 2015-06-29 10:58:59 -0400 |
commit | 7e9e07608f33f57b620b2dca78cf0e1d9da4d53f (patch) | |
tree | 987c30e262a578725a77b02ea34525c8f968b8b1 /cloudinit/config/cc_rightscale_userdata.py | |
parent | 7aa26486394f98dbc2bb3b61f9d49671e6d32af1 (diff) | |
download | vyos-cloud-init-7e9e07608f33f57b620b2dca78cf0e1d9da4d53f.tar.gz vyos-cloud-init-7e9e07608f33f57b620b2dca78cf0e1d9da4d53f.zip |
- Fix logic change introduced by 1000.1.1
Diffstat (limited to 'cloudinit/config/cc_rightscale_userdata.py')
-rw-r--r-- | cloudinit/config/cc_rightscale_userdata.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_rightscale_userdata.py b/cloudinit/config/cc_rightscale_userdata.py index 24880d13..0ecf3a4d 100644 --- a/cloudinit/config/cc_rightscale_userdata.py +++ b/cloudinit/config/cc_rightscale_userdata.py @@ -58,7 +58,7 @@ def handle(name, _cfg, cloud, log, _args): try: mdict = parse_qs(ud) - if mdict or MY_HOOKNAME not in mdict: + if not mdict or MY_HOOKNAME not in mdict: log.debug(("Skipping module %s, " "did not find %s in parsed" " raw userdata"), name, MY_HOOKNAME) |