fix: pass appName along

This commit is contained in:
Jose Diaz-Gonzalez committed 2020-02-08 22:48:10 -05:00
1 parent e282c2dd7e
commit 16d8bd480c
1 file changed
+2 -2
+2 -2
View File
@@ -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
} }