Fix copypasted var name in Environment.snapshot()
Change-Id: Ifa28133aae78792a72ede8f0d6d3f09999a2eeb4
This commit is contained in:
parent
25d4cc6731
commit
69e893e581
|
@ -231,8 +231,7 @@ class Environment(base.BaseModel):
|
|||
name = str(int(time.time()))
|
||||
if self.has_snapshot(name) and not force:
|
||||
raise error.DevopsError(
|
||||
'Snapshot with name {0} already exists.'.format(
|
||||
self.params.snapshot_name))
|
||||
'Snapshot with name "{0}" already exists.'.format(name))
|
||||
if suspend:
|
||||
for nod in self.get_nodes():
|
||||
nod.suspend()
|
||||
|
|
Loading…
Reference in New Issue