diff options
author | Scott Moser <smoser@ubuntu.com> | 2013-09-27 13:16:38 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2013-09-27 13:16:38 -0400 |
commit | 7c7ba39a8f40530172f7f9d91592b2cf1d402f87 (patch) | |
tree | 57fb70632e45362b49b4dcaf5cb3505fe049f4a2 | |
parent | e192858b1d1e0212455b5a4bb017c8d7216fc12f (diff) | |
download | vyos-cloud-init-7c7ba39a8f40530172f7f9d91592b2cf1d402f87.tar.gz vyos-cloud-init-7c7ba39a8f40530172f7f9d91592b2cf1d402f87.zip |
fix syntax error in last commit
-rw-r--r-- | cloudinit/config/cc_disk_setup.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_disk_setup.py b/cloudinit/config/cc_disk_setup.py index 8b7581a7..a170f81f 100644 --- a/cloudinit/config/cc_disk_setup.py +++ b/cloudinit/config/cc_disk_setup.py @@ -578,7 +578,7 @@ def mkfs(cloud, fs_cfg): """ label = fs_cfg.get('label') device = fs_cfg.get('device') - partition = str(fs_cfg.get('partition'), 'any') + partition = str(fs_cfg.get('partition', 'any')) fs_type = fs_cfg.get('filesystem') fs_cmd = fs_cfg.get('cmd', []) fs_opts = fs_cfg.get('extra_opts', []) |