command: vet fix

Fixes the following vet report:

command/remote.go:165: wrong number of args for format in Sprintf call: 1 needed but 2 args
This commit is contained in:
Emil Hessman 2014-12-17 13:02:19 +01:00
parent 68a41035a9
commit fc36b1cd94
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ func (c *RemoteCommand) disableRemoteState() int {
}
defer fh.Close()
if err := terraform.WriteState(local, fh); err != nil {
c.Ui.Error(fmt.Sprintf("Failed to encode state file: %v",
c.Ui.Error(fmt.Sprintf("Failed to encode state file '%s': %v",
c.conf.statePath, err))
return 1
}