Skip to content

Commit

Permalink
support anchor-cni
Browse files Browse the repository at this point in the history
  • Loading branch information
DuodenumL committed Jul 22, 2022
1 parent 536536b commit 451f1a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion handler/cni/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ func (h *CNIHandler) HandleCreate(conf config.Config, containerMeta *oci.Contain

func (h *CNIHandler) AddCNIStartHook(conf config.Config, containerMeta *oci.ContainerMeta) (err error) {
env := []string{}
cniArgs := []string{}
cniArgs := []string{"IgnoreUnknown=true"}
if containerMeta.RequiresSpecificIPPool() {
cniArgs = append(cniArgs, "IPPOOL="+containerMeta.SpecificIPPool())
}
Expand Down

0 comments on commit 451f1a2

Please sign in to comment.