Skip to content

Commit 028c71b

Browse files
authored
Merge pull request #109 from dcbw/check-uses-wrong-version
ocicni: fix checkNetwork() to use the right Result version for uncached results
2 parents 322b982 + 63e28e3 commit 028c71b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/ocicni/ocicni.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -773,7 +773,7 @@ func (network *cniNetwork) checkNetwork(ctx context.Context, rt *libcni.RuntimeC
773773
}
774774

775775
result = &cniv1.Result{
776-
CNIVersion: network.config.CNIVersion,
776+
CNIVersion: cniv1.ImplementedSpecVersion,
777777
Interfaces: []*cniv1.Interface{cniInterface},
778778
IPs: ips,
779779
}

0 commit comments

Comments
 (0)