Fix string formatting

This commit is contained in:
Michael Schurter 2016-12-01 11:22:34 -08:00
parent 80b10252c6
commit 1c4195b985
1 changed files with 1 additions and 1 deletions

View File

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