Skip to content

Commit 1b7bdca

Browse files
committed
fix add backup subcommand to volume command
1 parent 24be571 commit 1b7bdca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/cmd/volume/volume.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package volume
22

33
import (
44
"github.com/stackitcloud/stackit-cli/internal/cmd/params"
5+
"github.com/stackitcloud/stackit-cli/internal/cmd/volume/backup"
56
"github.com/stackitcloud/stackit-cli/internal/cmd/volume/create"
67
"github.com/stackitcloud/stackit-cli/internal/cmd/volume/delete"
78
"github.com/stackitcloud/stackit-cli/internal/cmd/volume/describe"
@@ -37,4 +38,5 @@ func addSubcommands(cmd *cobra.Command, params *params.CmdParams) {
3738
cmd.AddCommand(resize.NewCmd(params))
3839
cmd.AddCommand(performanceclass.NewCmd(params))
3940
cmd.AddCommand(snapshot.NewCmd(params))
41+
cmd.AddCommand(backup.NewCmd(params))
4042
}

0 commit comments

Comments
 (0)