Fix copypasted var name in Environment.snapshot()

Change-Id: Ifa28133aae78792a72ede8f0d6d3f09999a2eeb4
This commit is contained in:
Dennis Dmitriev 2018-06-14 18:31:31 +03:00
parent 25d4cc6731
commit 69e893e581
1 changed files with 1 additions and 2 deletions

View File

@ -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()