mirror of https://github.com/cirruslabs/tart.git
Improve rename error message (#723)
This commit is contained in:
parent
18d462dd3d
commit
9bb71a4051
|
|
@ -24,7 +24,7 @@ struct Rename: AsyncParsableCommand {
|
|||
}
|
||||
|
||||
if localStorage.exists(newName) {
|
||||
throw ValidationError("failed to rename VM \(name), target VM \(name) already exists, delete it first!")
|
||||
throw ValidationError("failed to rename VM \(name), target VM \(newName) already exists, delete it first!")
|
||||
}
|
||||
|
||||
try localStorage.rename(name, newName)
|
||||
|
|
|
|||
Loading…
Reference in New Issue