Skip to content

Commit

Permalink
rename AddIPv4AddressFromStore to ToStore
Browse files Browse the repository at this point in the history
  • Loading branch information
tatatodd authored and mogren committed Dec 11, 2019
1 parent a8a623f commit b90f0a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipamd/datastore/data_store_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func TestDeleteENI(t *testing.T) {
assert.Equal(t, len(eniInfos.ENIIPPools), 2)

// Add an IP and assign a pod.
err = ds.AddIPv4AddressFromStore("eni-1", "1.1.1.1")
err = ds.AddIPv4AddressToStore("eni-1", "1.1.1.1")
assert.NoError(t, err)
podInfo := &k8sapi.K8SPodInfo{
Name: "pod-1",
Expand Down

0 comments on commit b90f0a9

Please sign in to comment.