diff --git a/clab/config.go b/clab/config.go index 7439f2849..10f763c74 100644 --- a/clab/config.go +++ b/clab/config.go @@ -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 diff --git a/cmd/destroy.go b/cmd/destroy.go index 17b716874..bfa542cf9 100644 --- a/cmd/destroy.go +++ b/cmd/destroy.go @@ -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 {