diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e130ee0f3a4..4ed840050d50 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,7 @@ ## 1.1.1 (Unreleased) IMPROVEMENTS: +* cli: Added success confirmation message for `nomad volume delete` and `nomad volume deregister`. [[GH-10591](https://github.com/hashicorp/nomad/issues/10591)] * cli: Cross-namespace `nomad job` commands will now select exact matches if the selection is unambiguous. [[GH-10648](https://github.com/hashicorp/nomad/issues/10648)] BUG FIXES: diff --git a/command/volume_delete.go b/command/volume_delete.go index 6ee508248e05..d965de9a9854 100644 --- a/command/volume_delete.go +++ b/command/volume_delete.go @@ -98,5 +98,6 @@ func (c *VolumeDeleteCommand) Run(args []string) int { return 1 } + c.Ui.Output(fmt.Sprintf("Successfully deleted volume %q!", volID)) return 0 } diff --git a/command/volume_deregister.go b/command/volume_deregister.go index 1710f3cafd8e..622739badefa 100644 --- a/command/volume_deregister.go +++ b/command/volume_deregister.go @@ -146,5 +146,6 @@ func (c *VolumeDeregisterCommand) Run(args []string) int { return 1 } + c.Ui.Output(fmt.Sprintf("Successfully deregistered volume %q!", volID)) return 0 }