Skip to content

Commit 302acca

Browse files
authored
fix(reloadable): fix wrong previous and current for repl worker (#6416)
1 parent 597e358 commit 302acca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/reloadable/replicationworker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ func convertReplicationWorkerTemplate(tmpl *v1alpha1.ReplicationWorkerTemplate)
9292
return newTmpl
9393
}
9494

95-
func equalReplicationWorkerTemplate(p, c *v1alpha1.ReplicationWorkerTemplate) bool {
95+
func equalReplicationWorkerTemplate(c, p *v1alpha1.ReplicationWorkerTemplate) bool {
9696
p = convertReplicationWorkerTemplate(p)
9797
c = convertReplicationWorkerTemplate(c)
9898
// not equal only when current strategy is Restart and config is changed

0 commit comments

Comments
 (0)