Skip to content

Commit

Permalink
fix InterfaceCount for mgmt
Browse files Browse the repository at this point in the history
  • Loading branch information
msupinodn committed Dec 15, 2024
1 parent 6fbf032 commit 064a047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion topo/node/drivenets/drivenets.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func (n *Node) cdnosCreate(ctx context.Context) error {
ConfigFile: config.ConfigFile,
InitImage: config.InitImage,
Ports: ports,
InterfaceCount: len(nodeSpec.Interfaces) + 1,
InterfaceCount: len(nodeSpec.Interfaces),
InitSleep: int(config.Sleep),
Resources: node.ToResourceRequirements(nodeSpec.Constraints),
Labels: nodeSpec.Labels,
Expand Down

0 comments on commit 064a047

Please sign in to comment.