Explorar el Código

add OS to netmaker container

afeiszli hace 3 años
padre
commit
f157192b31
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      logic/server.go

+ 1 - 0
logic/server.go

@@ -44,6 +44,7 @@ func ServerJoin(networkSettings *models.Network) (models.Node, error) {
 		UDPHolePunch: "no",
 		IsLocal:      networkSettings.IsLocal,
 		LocalRange:   networkSettings.LocalRange,
+		OS:           runtime.GOOS,
 	}
 
 	SetNodeDefaults(node)