Skip to content

Commit

Permalink
Modifed the cli outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Abiji-2020 authored Sep 30, 2024
1 parent e46adaf commit 83954c5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cyctl/cmd/reconcile.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,19 +32,19 @@ func reconcileModule(clientset *client.CyclopsV1Alpha1Client, moduleName string)
fmt.Println("failed to update module: ", err)
return
}
fmt.Printf("successfully reconciled %v", moduleName)
fmt.Printf("successfully triggered reconcilation for module: %v", moduleName)

}

var (
reconcileExample = `# Reconcile the Module
reconcileExample = `# Reconcile a Module
cyctl reconcile <modulename>`
)

var reconcileCMD = &cobra.Command{
Use: "reconcile",
Short: "Will reconcile the Module and update the current TimeStamp",
Long: "Will reconcile the Module and update the current TimeStamp",
Short: "Trigger module reconciliation",
Long: "Trigger module reconciliation",
Example: reconcileExample,
Args: cobra.ExactArgs(1),
Run: func(cmd *cobra.Command, args []string) {
Expand Down

0 comments on commit 83954c5

Please sign in to comment.