Fix string formatting
This commit is contained in:
parent
80b10252c6
commit
1c4195b985
|
@ -97,7 +97,7 @@ func persistState(path string, data interface{}) error {
|
|||
if stat, err := os.Stat(path); err != nil {
|
||||
return fmt.Errorf("unable to stat state file %s: %v", path, err)
|
||||
} else if stat.Size() == 0 {
|
||||
return fmt.Errorf("persisted invalid state file %s; see https://github.com/hashicorp/nomad/issues/1367")
|
||||
return fmt.Errorf("persisted invalid state file %s; see https://github.com/hashicorp/nomad/issues/1367", path)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue