Explorar o código

set network name as tag

abhishek9686 hai 9 meses
pai
achega
eb6964f713
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      logic/networks.go

+ 1 - 1
logic/networks.go

@@ -253,7 +253,7 @@ func CreateNetwork(network models.Network) (models.Network, error) {
 		0,
 		time.Time{},
 		[]string{network.NetID},
-		[]string{network.NetID},
+		[]string{network.Name},
 		[]models.TagID{},
 		true,
 		uuid.Nil,