Commit 53eab7ef authored by Chao Xu's avatar Chao Xu

gofmt

parent 88eeb038
......@@ -78,7 +78,7 @@ func TestGenerateStorageVersionMap(t *testing.T) {
legacyVersion: "v1",
storageVersions: "v1,extensions/v1beta1",
expectedMap: map[string]string{
"": "v1",
"": "v1",
"extensions": "extensions/v1beta1",
},
},
......@@ -86,7 +86,7 @@ func TestGenerateStorageVersionMap(t *testing.T) {
legacyVersion: "",
storageVersions: "extensions/v1beta1,v1",
expectedMap: map[string]string{
"": "v1",
"": "v1",
"extensions": "extensions/v1beta1",
},
},
......
......@@ -32,7 +32,7 @@ var RegisteredVersions []string
func init() {
// TODO: caesarxuchao: rename this variable to validGroupVersions
validAPIVersions := map[string]bool{
"v1": true,
"v1": true,
"extensions/v1beta1": true,
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment