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
pull/688/head
Emil Hessman 12 years ago
parent 68a41035a9
commit fc36b1cd94

@ -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
}

Loading…
Cancel
Save