Fix user-agent prefix to have docker instead of suffix. (#3074)

This commit is contained in:
Harshavardhana
2016-10-24 13:44:15 -07:00
committed by GitHub
parent 21d41ad7fd
commit 7fc598b73f
4 changed files with 9 additions and 9 deletions
-2
View File
@@ -37,8 +37,6 @@ func TestReleaseUpdateVersion(t *testing.T) {
fmt.Fprintln(w, "fbe246edbd382902db9a4035df7dce8cb441357d minio.RELEASE.2016-10-07T01-16-39Z")
}))
userAgentSuffix = "Minio/" + Version + " " + "Minio/" + ReleaseTag + " " + "Minio/" + CommitID
userAgentPrefix = "Minio (" + runtime.GOOS + "; " + runtime.GOARCH + ") "
userAgent = userAgentPrefix + userAgentSuffix
defer ts.Close()
testCases := []struct {
updateURL string