fix issue that --neettagdel does not work properly

Signed-off-by: Xu Yang <xyang@ciq.com>
This commit is contained in:
Xu Yang
2024-11-11 07:54:05 +00:00
parent 7f6cfafec9
commit 0c2fc13a1d
3 changed files with 118 additions and 33 deletions

View File

@@ -66,6 +66,7 @@ func CobraRunE(vars *variables) func(cmd *cobra.Command, args []string) (err err
NetTagDel: vars.nodeDel.NetTagsDel,
IpmiTagAdd: vars.nodeAdd.IpmiTagsAdd,
IpmiTagDel: vars.nodeDel.IpmiTagsDel,
Netdev: vars.nodeAdd.Net,
AllConfs: vars.setNodeAll,
Force: vars.setForce,
ConfList: args,