Merge pull request #270 from nrb/fix-232

Clarify backup and restore creation messages
pull/285/head
Andy Goldstein 2018-01-11 12:22:11 -05:00 committed by GitHub
commit 6712e2a9ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -143,6 +143,7 @@ func (o *CreateOptions) Run(c *cobra.Command, f client.Factory) error {
return err
}
fmt.Printf("Backup %q created successfully.\n", backup.Name)
fmt.Printf("Backup request %q submitted successfully.\n", backup.Name)
fmt.Printf("Run `ark backup describe %s` for more details.\n", backup.Name)
return nil
}

View File

@ -144,6 +144,7 @@ func (o *CreateOptions) Run(c *cobra.Command, f client.Factory) error {
return err
}
fmt.Printf("Restore %q created successfully.\n", restore.Name)
fmt.Printf("Restore request %q submitted successfully.\n", restore.Name)
fmt.Printf("Run `ark restore describe %s` for more details.\n", restore.Name)
return nil
}