Skip to content

Commit

Permalink
correct misspelt comments/descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
karimra committed Jun 23, 2021
1 parent aa30683 commit bfb2e9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions clab/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,12 @@ func (c *CLab) createNodeCfg(nodeName string, nodeDef *types.NodeDefinition, idx

log.Debugf("node config: %+v", nodeCfg)
var err error
// intialize config
// initialize config
nodeCfg.Config, err = c.Config.Topology.GetNodeConfig(nodeCfg.ShortName)
if err != nil {
return nil, err
}
// intialize license field
// initialize license field
nodeCfg.License, err = c.Config.Topology.GetNodeLicense(nodeCfg.ShortName)
if err != nil {
return nil, err
Expand Down
2 changes: 1 addition & 1 deletion cmd/destroy.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func init() {
destroyCmd.Flags().BoolVarP(&cleanup, "cleanup", "", false, "delete lab directory")
destroyCmd.Flags().BoolVarP(&graceful, "graceful", "", false, "attempt to stop containers before removing")
destroyCmd.Flags().BoolVarP(&all, "all", "a", false, "destroy all containerlab labs")
destroyCmd.Flags().UintVarP(&maxWorkers, "max-workers", "", 0, "limit the maximum number of workers deleteing nodes")
destroyCmd.Flags().UintVarP(&maxWorkers, "max-workers", "", 0, "limit the maximum number of workers deleting nodes")
}

func deleteEntriesFromHostsFile(containers []types.GenericContainer, bridgeName string) error {
Expand Down

0 comments on commit bfb2e9c

Please sign in to comment.