Skip to content

Commit

Permalink
server: fix inappropriate log level (#8462)
Browse files Browse the repository at this point in the history
ref #8453

changed log.Error to log.Warn, since it's a warning

Signed-off-by: Boyang Lyu <[email protected]>

Co-authored-by: ti-chi-bot[bot] <108142056+ti-chi-bot[bot]@users.noreply.github.com>
  • Loading branch information
JackL9u and ti-chi-bot[bot] authored Jul 31, 2024
1 parent 84f90f4 commit 45dac53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/mcs/resourcemanager/server/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func (m *Manager) Init(ctx context.Context) error {
return err
}
if err = json.Unmarshal([]byte(v), &m.controllerConfig); err != nil {
log.Error("un-marshall controller config failed, fallback to default", zap.Error(err), zap.String("v", v))
log.Warn("un-marshall controller config failed, fallback to default", zap.Error(err), zap.String("v", v))
}

// re-save the config to make sure the config has been persisted.
Expand Down

0 comments on commit 45dac53

Please sign in to comment.