mirror of
https://github.com/rancher/rke.git
synced 2025-09-02 07:24:20 +00:00
go generate
This commit is contained in:
@@ -10,7 +10,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
defaultURL = "https://releases.rancher.com/kontainer-driver-metadata/release-v2.7/data.json"
|
||||
defaultURL = "https://releases.rancher.com/kontainer-driver-metadata/dev-v2.7/data.json"
|
||||
dataFile = "data/data.json"
|
||||
)
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -2,7 +2,7 @@
|
||||
// +build !ignore_autogenerated
|
||||
|
||||
/*
|
||||
Copyright 2023 Rancher Labs, Inc.
|
||||
Copyright 2024 Rancher Labs, Inc.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
|
@@ -2,7 +2,7 @@
|
||||
// +build !ignore_autogenerated
|
||||
|
||||
/*
|
||||
Copyright 2023 Rancher Labs, Inc.
|
||||
Copyright 2024 Rancher Labs, Inc.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
@@ -85,6 +85,19 @@ func (in *AciNetworkProvider) DeepCopyInto(out *AciNetworkProvider) {
|
||||
}
|
||||
}
|
||||
}
|
||||
if in.NodeSnatRedirectExclude != nil {
|
||||
in, out := &in.NodeSnatRedirectExclude, &out.NodeSnatRedirectExclude
|
||||
*out = make([]map[string]string, len(*in))
|
||||
for i := range *in {
|
||||
if (*in)[i] != nil {
|
||||
in, out := &(*in)[i], &(*out)[i]
|
||||
*out = make(map[string]string, len(*in))
|
||||
for key, val := range *in {
|
||||
(*out)[key] = val
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user