Skip to content

Commit

Permalink
handling 'setLogLevel' error of 'ConfigInit' if both 'debug' flag and…
Browse files Browse the repository at this point in the history
… 'loglevel' are set

Signed-off-by: bkiran6398 <[email protected]>
  • Loading branch information
bkiran6398 authored and denyeart committed Jun 18, 2024
1 parent 6bd223d commit 5f6100a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/fabric-ca-client/command/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ func (c *ClientCmd) ConfigInit() error {
if logLevel != "" {
c.logLevel = logLevel
}
calog.SetLogLevel(c.logLevel, debug)
err = calog.SetLogLevel(c.logLevel, debug)
if err != nil {
return err
}
Expand Down

0 comments on commit 5f6100a

Please sign in to comment.