Fix variable name
diff --git a/xos/observers/base/SyncInstanceUsingAnsible.py b/xos/observers/base/SyncInstanceUsingAnsible.py
index 373178c..81f6632 100644
--- a/xos/observers/base/SyncInstanceUsingAnsible.py
+++ b/xos/observers/base/SyncInstanceUsingAnsible.py
@@ -113,7 +113,7 @@
key_name = instance.parent.slice.service.private_key_fn
if not os.path.exists(key_name):
- raise Exception("Node key %s does not exist" % node_key_name)
+ raise Exception("Node key %s does not exist" % key_name)
key = file(key_name).read()
@@ -219,4 +219,3 @@
self.map_delete_outputs(o,res)
except AttributeError:
pass
-