inspect comparision

This commit is contained in:
mr
2026-05-29 10:22:07 +02:00
parent 7e5b69b1d2
commit ce110ee634
3 changed files with 16 additions and 5 deletions
+4
View File
@@ -1,6 +1,8 @@
package live
import (
"fmt"
"cloud.o-forge.io/core/oc-lib/models/common/enum"
"cloud.o-forge.io/core/oc-lib/models/utils"
"cloud.o-forge.io/core/oc-lib/tools"
@@ -26,6 +28,8 @@ type LiveStorage struct {
}
func (r *LiveStorage) IsCompatible(service map[string]interface{}) bool {
fmt.Println("COMPARE <", service["storage_type"], "> <", r.StorageType, ">")
return service["storage_type"] == r.StorageType
}