Restore a commented-out test

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2024-10-18 00:06:22 -04:00
parent 30ac144044
commit d3cd31fdc0
2 changed files with 8 additions and 19 deletions

View File

@@ -422,11 +422,6 @@ func ContainerRename(crp *wwapiv1.ContainerRenameParameter) (err error) {
for _, node := range nodes {
if node.ContainerName == crp.ContainerName {
node.ContainerName = crp.TargetName
/*
if err := nodeDB.NodeUpdate(node); err != nil {
return err
}
*/
}
}
@@ -437,11 +432,6 @@ func ContainerRename(crp *wwapiv1.ContainerRenameParameter) (err error) {
for _, profile := range profiles {
if profile.ContainerName == crp.ContainerName {
profile.ContainerName = crp.TargetName
/*
if err := nodeDB.ProfileUpdate(profile); err != nil {
return err
}
*/
}
}