Skip to content

Commit 739eb6f

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent a3dc826 commit 739eb6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/nginx-ingress/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1069,7 +1069,7 @@ func updateSelfWithVersionInfo(ctx context.Context, eventLog record.EventRecorde
10691069
labels[agentVersionLabel] = agentVersion
10701070
}
10711071
newPod.ObjectMeta.Labels = labels
1072-
1072+
10731073
_, err = kubeClient.CoreV1().Pods(newPod.ObjectMeta.Namespace).Update(context.TODO(), newPod, meta_v1.UpdateOptions{})
10741074
if err != nil {
10751075
nl.Errorf(l, "Error updating pod with labels on attempt %d of %d: %v", i+1, maxRetries, err)

0 commit comments

Comments
 (0)