Skip to content

Commit

Permalink
Update pkg/manager/member/pd_upgrader.go
Browse files Browse the repository at this point in the history
Co-authored-by: Hoshea <[email protected]>
  • Loading branch information
2 people authored and ti-chi-bot committed Oct 31, 2024
1 parent 21e9b7a commit b3e2c9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/manager/member/pd_upgrader.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ func (u *pdUpgrader) gracefulUpgrade(tc *v1alpha1.TidbCluster, oldSet *apps.Stat
if ok {
i, err := strconv.Atoi(s)
if err != nil {
klog.Warningf("tidbcluster: [%s/%s] annotation %s should be an integer: %v", ns, tcName, annoKeyTiFlashMinReadySeconds, err)
klog.Warningf("tidbcluster: [%s/%s] annotation %s should be an integer: %v", ns, tcName, annoKeyPDMinReadySeconds, err)
} else {
minReadySeconds = i
}
Expand Down

0 comments on commit b3e2c9b

Please sign in to comment.