Skip to content

Commit

Permalink
feat: fix log
Browse files Browse the repository at this point in the history
  • Loading branch information
earayu committed Dec 28, 2023
1 parent 0b7fcd7 commit ef8ccb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/vttablet/tabletmanager/tm_init.go
Original file line number Diff line number Diff line change
Expand Up @@ -898,7 +898,7 @@ func (tm *TabletManager) syncVTTabletType(ctx context.Context, lastUpdate time.T
if tm.Tablet().Type == targetTabletType && within30Seconds() {
return false, nil
}
log.Infof("start to change vttablet role to %s", string(targetTabletType))
log.Infof("start to change vttablet role to %s", targetTabletType.String())
err := tm.ChangeType(ctx, targetTabletType, false)
if err != nil {
return false, err
Expand Down

0 comments on commit ef8ccb5

Please sign in to comment.