Skip to content

Commit

Permalink
code review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
AdheipSingh committed Jun 15, 2021
1 parent e400430 commit d661f0f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/writers.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,15 +41,15 @@ func druidCRWriterNodeSpecReplicas(streams genericclioptions.IOStreams) *cobra.C
return cmd
}

func (sv *druidWriterCmd) druidCRWriterNodeSpecReplicasRun(nodeName, namespace, CR string, replica int64) error {
func (sv *druidWriterCmd) druidCRWriterNodeSpecReplicasRun(nodeName, namespace, cr string, replica int64) error {

writerResult, err := di.writerDruidNodeSpecReplicas(nodeName, namespace, CR, replica)
writerResult, err := di.writerDruidNodeSpecReplicas(nodeName, namespace, cr, replica)
if err != nil {
return err
}

if writerResult {
_, err := fmt.Fprintf(sv.out, "Druid CR [%s],NodeName [%s] successfully updated in Namespace [%s] with Replica Count [%d]\n", CR, nodeName, namespace, replica)
_, err := fmt.Fprintf(sv.out, "Druid CR [%s],NodeName [%s] successfully updated in Namespace [%s] with Replica Count [%d]\n", cr, nodeName, namespace, replica)
if err != nil {
return err
}
Expand Down

0 comments on commit d661f0f

Please sign in to comment.