File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
internal/cmd/object-storage Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ func NewCmd() *cobra.Command {
5151 }
5252
5353 if ! model .AssumeYes {
54- prompt := fmt .Sprintf ("Are you sure you want to create bucket %s ? (This cannot be undone)" , model .BucketName )
54+ prompt := fmt .Sprintf ("Are you sure you want to create bucket %q ? (This cannot be undone)" , model .BucketName )
5555 err = confirm .PromptForConfirmation (cmd , prompt )
5656 if err != nil {
5757 return err
@@ -80,7 +80,7 @@ func NewCmd() *cobra.Command {
8080 if model .Async {
8181 operationState = "Triggered creation of"
8282 }
83- cmd .Printf ("%s bucket %s \n " , operationState , model .BucketName )
83+ cmd .Printf ("%s bucket %q \n " , operationState , model .BucketName )
8484 return nil
8585 },
8686 }
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ func NewCmd() *cobra.Command {
5151 }
5252
5353 if ! model .AssumeYes {
54- prompt := fmt .Sprintf ("Are you sure you want to delete bucket %s ? (This cannot be undone)" , model .BucketName )
54+ prompt := fmt .Sprintf ("Are you sure you want to delete bucket %q ? (This cannot be undone)" , model .BucketName )
5555 err = confirm .PromptForConfirmation (cmd , prompt )
5656 if err != nil {
5757 return err
@@ -80,7 +80,7 @@ func NewCmd() *cobra.Command {
8080 if model .Async {
8181 operationState = "Triggered deletion of"
8282 }
83- cmd .Printf ("%s bucket %s \n " , operationState , model .BucketName )
83+ cmd .Printf ("%s bucket %q \n " , operationState , model .BucketName )
8484 return nil
8585 },
8686 }
Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ func NewCmd() *cobra.Command {
2424 cmd := & cobra.Command {
2525 Use : "disable" ,
2626 Short : "Disables Object Storage for a project" ,
27- Long : "Disables Object Storage for a project. It will delete all associated buckets ." ,
27+ Long : "Disables Object Storage for a project. All buckets must be deleted beforehand ." ,
2828 Args : args .NoArgs ,
2929 Example : examples .Build (
3030 examples .NewExample (
31- `Disable Object Storage functionality for your project, deleting all associated buckets ` ,
31+ `Disable Object Storage functionality for your project. ` ,
3232 "$ stackit object-storage disable" ),
3333 ),
3434 RunE : func (cmd * cobra.Command , args []string ) error {
@@ -50,7 +50,7 @@ func NewCmd() *cobra.Command {
5050 }
5151
5252 if ! model .AssumeYes {
53- prompt := fmt .Sprintf ("Are you sure you want to disable Object Storage for project %q? (This will delete all associated clusters) " , projectLabel )
53+ prompt := fmt .Sprintf ("Are you sure you want to disable Object Storage for project %q?" , projectLabel )
5454 err = confirm .PromptForConfirmation (cmd , prompt )
5555 if err != nil {
5656 return err
You can’t perform that action at this time.
0 commit comments