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:
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…
Reference in New Issue