summaryrefslogtreecommitdiff
path: root/cloudinit/config/cc_disk_setup.py
diff options
context:
space:
mode:
authorKatie McLaughlin <katie@glasnt.com>2018-10-11 16:31:05 +0000
committerServer Team CI Bot <josh.powers+server-team-bot@canonical.com>2018-10-11 16:31:05 +0000
commit635fec38d173a047cad471e20d17b85c30c5a486 (patch)
tree7e9b2eb5716d06af0b796d53da585af8c9fee99f /cloudinit/config/cc_disk_setup.py
parent4652b196e04b68d7c335e64766e3a0140157417c (diff)
downloadvyos-cloud-init-635fec38d173a047cad471e20d17b85c30c5a486.tar.gz
vyos-cloud-init-635fec38d173a047cad471e20d17b85c30c5a486.zip
Correct spelling in an error message (udevadm).
Fix a typo in a RuntimeError path. (udevamd -> udevadm).
Diffstat (limited to 'cloudinit/config/cc_disk_setup.py')
-rw-r--r--cloudinit/config/cc_disk_setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/config/cc_disk_setup.py b/cloudinit/config/cc_disk_setup.py
index 943089e0..29e192e8 100644
--- a/cloudinit/config/cc_disk_setup.py
+++ b/cloudinit/config/cc_disk_setup.py
@@ -743,7 +743,7 @@ def assert_and_settle_device(device):
util.udevadm_settle()
if not os.path.exists(device):
raise RuntimeError("Device %s did not exist and was not created "
- "with a udevamd settle." % device)
+ "with a udevadm settle." % device)
# Whether or not the device existed above, it is possible that udev
# events that would populate udev database (for reading by lsdname) have