Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add succesful operation message after manage/unmanage #2334

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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", 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", cfg.module)

return nil
}
Loading