Merge pull request #7629 from caesarxuchao/new-fix-7260-7491
Change the order the different versions of API are registered
This commit is contained in:
@@ -110,7 +110,8 @@ func init() {
|
||||
},
|
||||
)
|
||||
// list of versions we support on the server
|
||||
versions := []string{"v1beta1", "v1beta2", "v1beta3", "v1"}
|
||||
// versions should be listed in the order of perferred versions first
|
||||
versions := []string{"v1beta3", "v1beta2", "v1beta1", "v1"}
|
||||
|
||||
// versions that used mixed case URL formats
|
||||
versionMixedCase := map[string]bool{
|
||||
|
Reference in New Issue
Block a user