Remove syncuser warning messages in wwctl that assume its use

- #1321

Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
Jonathon Anderson
2025-02-11 17:13:06 -07:00
parent 21333482e6
commit f2092b2854
3 changed files with 9 additions and 11 deletions

View File

@@ -195,7 +195,7 @@ func ImageImport(cip *wwapiv1.ImageImportParameter) (imageName string, err error
if cip.SyncUser {
err = image.SyncUids(cip.Name, true)
if err != nil {
err = fmt.Errorf("error in user sync, fix error and run 'syncuser' manually: %s", err)
err = fmt.Errorf("syncuser error: %w", err)
return
}
}