mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-19 09:16:29 +00:00
remove no longer necessary rand.Seed
Signed-off-by: Avi Deitcher <avi@deitcher.net>
This commit is contained in:
parent
7c46ac8c5d
commit
977afa7510
@ -60,7 +60,15 @@ var schema = `
|
||||
"destination": { "type": "string" },
|
||||
"type": { "type": "string" },
|
||||
"source": { "type": "string" },
|
||||
"options": { "$ref": "#/definitions/strings" }
|
||||
"options": { "$ref": "#/definitions/strings" },
|
||||
"uidmappings": {
|
||||
"type": "array",
|
||||
"items": { "$ref": "#/definitions/idmapping" }
|
||||
},
|
||||
"gidmappings": {
|
||||
"type": "array",
|
||||
"items": { "$ref": "#/definitions/idmapping" }
|
||||
}
|
||||
}
|
||||
},
|
||||
"mounts": {
|
||||
|
@ -48,7 +48,6 @@ func runAzureCmd() *cobra.Command {
|
||||
clientID := getEnvVarOrExit("AZURE_CLIENT_ID")
|
||||
clientSecret := getEnvVarOrExit("AZURE_CLIENT_SECRET")
|
||||
|
||||
rand.Seed(time.Now().UTC().UnixNano())
|
||||
virtualNetworkName := fmt.Sprintf("linuxkitvirtualnetwork%d", rand.Intn(1000))
|
||||
subnetName := fmt.Sprintf("linuxkitsubnet%d", rand.Intn(1000))
|
||||
publicIPAddressName := fmt.Sprintf("publicip%d", rand.Intn(1000))
|
||||
|
Loading…
Reference in New Issue
Block a user