engine: resources: Fix small cmp typo in virt builder res

This commit is contained in:
James Shubin
2025-03-10 19:01:05 -04:00
parent aabcaa7c8c
commit 181aab9c81

View File

@@ -626,7 +626,7 @@ func (obj *VirtBuilderRes) Cmp(r engine.Res) error {
} }
if len(obj.SSHKeys) != len(res.SSHKeys) { if len(obj.SSHKeys) != len(res.SSHKeys) {
return fmt.Errorf("the number of Packages differs") return fmt.Errorf("the number of SSHKeys differs")
} }
for i, x := range obj.SSHKeys { for i, x := range obj.SSHKeys {
if err := res.SSHKeys[i].Cmp(x); err != nil { if err := res.SSHKeys[i].Cmp(x); err != nil {