inspect comparision
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user