Restored profile list tests and resolved exposed bugs

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2024-10-17 23:58:37 -04:00
parent 0be1e8464a
commit 30ac144044
25 changed files with 252 additions and 122 deletions

View File

@@ -102,7 +102,7 @@ func CobraRunE(cmd *cobra.Command, args []string) (err error) {
if err != nil {
return fmt.Errorf("could not get node list: %s", err)
}
nodes = node.FilterByName(nodes, []string{nodename})
nodes = node.FilterNodeListByName(nodes, []string{nodename})
if len(nodes) != 1 {
return fmt.Errorf("no single node idendified with %s", nodename)
}