Skip to content

Commit

Permalink
add succesful operation message after manage/unmanage
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipRudy committed Jan 23, 2025
1 parent 4a65ea2 commit dea4050
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/cmd/alpha/module/manage.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,8 @@ func runManage(cfg *manageConfig) clierror.Error {
if err != nil {
return clierror.Wrap(err, clierror.New("failed to check module state"))
}

fmt.Printf("Module %s set to managed\n\n", cfg.module)

return nil
}
4 changes: 4 additions & 0 deletions internal/cmd/alpha/module/unmanage.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package module

import (
"fmt"
"github.com/kyma-project/cli.v3/internal/clierror"
"github.com/kyma-project/cli.v3/internal/cmdcommon"
"github.com/spf13/cobra"
Expand Down Expand Up @@ -46,5 +47,8 @@ func runUnmanage(cfg *unmanageConfig) clierror.Error {
if err != nil {
return clierror.Wrap(err, clierror.New("failed to check module state"))
}

fmt.Printf("Module %s set to unmanaged\n\n", cfg.module)

return nil
}

0 comments on commit dea4050

Please sign in to comment.