File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
cmd/kubeadm/app/phases/upgrade
staging/src/k8s.io/apimachinery/pkg/util/version Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -196,9 +196,9 @@ func TestEnforceVersionPolicies(t *testing.T) {
196
196
vg : & fakeVersionGetter {
197
197
clusterVersion : constants .MinimumControlPlaneVersion .String (),
198
198
kubeletVersion : constants .MinimumControlPlaneVersion .String (),
199
- kubeadmVersion : constants .MinimumControlPlaneVersion .WithBuildeMetadata ("build" ).String (),
199
+ kubeadmVersion : constants .MinimumControlPlaneVersion .WithBuildMetadata ("build" ).String (),
200
200
},
201
- newK8sVersion : constants .MinimumControlPlaneVersion .WithBuildeMetadata ("build" ).String (),
201
+ newK8sVersion : constants .MinimumControlPlaneVersion .WithBuildMetadata ("build" ).String (),
202
202
},
203
203
}
204
204
Original file line number Diff line number Diff line change @@ -183,8 +183,8 @@ func (v *Version) WithPreRelease(preRelease string) *Version {
183
183
return & result
184
184
}
185
185
186
- // WithBuildeMetadata returns copy of the version object with requested buildMetadata
187
- func (v * Version ) WithBuildeMetadata (buildMetadata string ) * Version {
186
+ // WithBuildMetadata returns copy of the version object with requested buildMetadata
187
+ func (v * Version ) WithBuildMetadata (buildMetadata string ) * Version {
188
188
result := * v
189
189
result .components = []uint {v .Major (), v .Minor (), v .Patch ()}
190
190
result .buildMetadata = buildMetadata
You can’t perform that action at this time.
0 commit comments