Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add succesful operation message after manage/unmanage
Browse files Browse the repository at this point in the history
FilipRudy committed Jan 23, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 99785db commit 8320c7c
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
@@ -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"
@@ -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 8320c7c

Please sign in to comment.