fix: pass appName along
This commit is contained in:
1 parent
e282c2dd7e
commit
16d8bd480c
1 file changed
+2
-2
@@ -179,7 +179,7 @@ func CommandSet(appName string, property string, value string) {
|
|||||||
common.LogFail("Invalid network name specified for attach")
|
common.LogFail("Invalid network name specified for attach")
|
||||||
}
|
}
|
||||||
|
|
||||||
if isConflictingPropertyValue(property, value) {
|
if isConflictingPropertyValue(appName, property, value) {
|
||||||
common.LogFail("Network name already associated with this app")
|
common.LogFail("Network name already associated with this app")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -187,7 +187,7 @@ func CommandSet(appName string, property string, value string) {
|
|||||||
common.CommandPropertySet("network", appName, property, value, DefaultProperties)
|
common.CommandPropertySet("network", appName, property, value, DefaultProperties)
|
||||||
}
|
}
|
||||||
|
|
||||||
func isConflictingPropertyValue(property string, value string) bool {
|
func isConflictingPropertyValue(appName string, property string, value string) bool {
|
||||||
if value == "" {
|
if value == "" {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user