Update to new changes in minio-go related to userAgent

This commit is contained in:
Harshavardhana
2015-05-26 18:03:06 -07:00
parent eac7e5c192
commit 0d03b7838f
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -72,8 +72,8 @@ func newRequest(op *operation, config *Config, body io.ReadSeeker) (*request, er
return nil, err
}
// if userAgent empty do not set it
if config.userAgent != "" {
// if userAgent empty set it
if config.userAgent == "" {
config.userAgent = LibraryName + "/" + LibraryVersion + " (" + runtime.GOOS + ", " + runtime.GOARCH + ") "
}