Skip to content

Commit

Permalink
update test case
Browse files Browse the repository at this point in the history
  • Loading branch information
caribbeantiger committed Sep 8, 2023
1 parent fbe7082 commit f4e7bde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/storage/kubernetes/ipam.go
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ func (c *KubernetesOverlappingRangeStore) UpdateOverlappingRangeAllocation(ctx c
// first get the existing object resourceVersion and then update it https://github.com/kubernetes/kubernetes/issues/70674
clusteripresorig, errorig := c.client.WhereaboutsV1alpha1().OverlappingRangeIPReservations(c.namespace).Get(ctx, normalizedIP, metav1.GetOptions{})
if errorig != nil {
err=errorig
err=errorigresour

Check failure on line 258 in pkg/storage/kubernetes/ipam.go

View workflow job for this annotation

GitHub Actions / build (1.19.x, amd64, ubuntu-latest)

undefined: errorigresour

Check failure on line 258 in pkg/storage/kubernetes/ipam.go

View workflow job for this annotation

GitHub Actions / e2e test

undefined: errorigresour

Check failure on line 258 in pkg/storage/kubernetes/ipam.go

View workflow job for this annotation

GitHub Actions / test (1.19.x, ubuntu-latest)

undefined: errorigresour
} else {
clusteripres.SetResourceVersion(clusteripresorig.GetResourceVersion())
_, err = c.client.WhereaboutsV1alpha1().OverlappingRangeIPReservations(c.namespace).Update(ctx, clusteripres, metav1.UpdateOptions{})
Expand Down

0 comments on commit f4e7bde

Please sign in to comment.