Missing self.
authorCarl Hetherington <cth@carlh.net>
Mon, 7 Aug 2017 00:21:12 +0000 (01:21 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 7 Aug 2017 00:21:12 +0000 (01:21 +0100)
cdist

diff --git a/cdist b/cdist
index 297d1a95fdbfb7f1bbed70c30e6fb5af8dd6da2b..03ab9005d79c87a04397848c059b6aec331fb7ec 100755 (executable)
--- a/cdist
+++ b/cdist
@@ -515,7 +515,7 @@ class LinuxTarget(Target):
 
     def cleanup(self):
         super(LinuxTarget, self).cleanup()
-        command('%s kill %s' % (config.docker(), container))
+        command('%s kill %s' % (config.docker(), self.container))
 
 class OSXTarget(Target):
     def __init__(self, directory=None):