mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 01:45:44 +03:00
Error message typo fix: Filed to Failed (#19611)
This commit is contained in:
@@ -137,13 +137,13 @@ func (c *OperatorSnapshotSaveCommand) Run(args []string) int {
|
||||
|
||||
_, err = io.Copy(tmpFile, snapIn)
|
||||
if err != nil {
|
||||
c.Ui.Error(fmt.Sprintf("Filed to download snapshot file: %v", err))
|
||||
c.Ui.Error(fmt.Sprintf("Failed to download snapshot file: %v", err))
|
||||
return 1
|
||||
}
|
||||
|
||||
err = os.Rename(tmpFile.Name(), filename)
|
||||
if err != nil {
|
||||
c.Ui.Error(fmt.Sprintf("Filed to finalize snapshot file: %v", err))
|
||||
c.Ui.Error(fmt.Sprintf("Failed to finalize snapshot file: %v", err))
|
||||
return 1
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user