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

@@ -29,7 +29,7 @@ func CobraRunE(cmd *cobra.Command, args []string) error {
if len(args) > 0 {
args = hostlist.Expand(args)
db = node.FilterByName(db, args)
db = node.FilterNodeListByName(db, args)
if len(db) < len(args) {
return errors.New("failed to find nodes")