Skip to content

Commit

Permalink
Merge pull request projectcalico#921 from projectcalico/os-3050-write…
Browse files Browse the repository at this point in the history
…-pod-status

Write to pod status instead of pod
  • Loading branch information
briansan authored Sep 7, 2018
2 parents cba4714 + de2a9fd commit e9246ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/backend/k8s/resources/workloadendpoint.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (c *WorkloadEndpointClient) patchPodIP(ctx context.Context, kvp *model.KVPa
log.WithError(err).Error("Failed to calculate Pod patch.")
return nil, err
}
pod, err := c.clientSet.CoreV1().Pods(ns).Patch(wepID.Pod, types.StrategicMergePatchType, patch)
pod, err := c.clientSet.CoreV1().Pods(ns).Patch(wepID.Pod, types.StrategicMergePatchType, patch, "status")
if err != nil {
return nil, K8sErrorToCalico(err, kvp.Key)
}
Expand Down

0 comments on commit e9246ed

Please sign in to comment.