Skip to content

Commit

Permalink
fix(podFields): fixed wrong var replacement
Browse files Browse the repository at this point in the history
  • Loading branch information
powerfooI committed Sep 14, 2024
1 parent 95b1105 commit d62de8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/resource/observer/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ func (m *OBServerManager) getVarsReplacer(obcluster *v1alpha1.OBCluster) *string
replacePairs := []string{
"${observer-name}", m.OBServer.Name,
"${obzone-name}", m.OBServer.Labels[oceanbaseconst.LabelRefOBZone],
"${obcluster-name}", m.OBServer.Labels[oceanbaseconst.LabelRefOBZone],
"${obcluster-name}", m.OBServer.Labels[oceanbaseconst.LabelRefOBCluster],
}

if obcluster != nil {
Expand Down

0 comments on commit d62de8b

Please sign in to comment.