storage: Upgrade REST version after adding WriteAll API (#6819)

Rolling update doesn't work properly because Storage REST API has
a new API WriteAll() but without API version number increase.

Also be sure to return 404 for unknown http paths.
This commit is contained in:
Anis Elleuch
2018-11-15 21:18:58 +01:00
committed by kannappanr
parent 712abc7958
commit 1c24c93f73
2 changed files with 2 additions and 1 deletions

View File

@@ -16,7 +16,7 @@
package cmd
const storageRESTVersion = "v1"
const storageRESTVersion = "v2"
const storageRESTPath = minioReservedBucketPath + "/storage/" + storageRESTVersion + "/"
const (