1
0
mirror of https://github.com/minio/mc.git synced 2025-11-13 12:22:45 +03:00

Remove delimiter constant, use c.hostURL.Separator

This commit is contained in:
Harshavardhana
2015-06-10 21:28:36 -07:00
parent 2c92125fb3
commit 81b417bc53
2 changed files with 5 additions and 7 deletions

View File

@@ -141,7 +141,7 @@ func (s *MySuite) TestBucketOperations(c *C) {
err = s3c.SetBucketACL("public-read-write")
c.Assert(err, IsNil)
conf.HostURL = server.URL + delimiter
conf.HostURL = server.URL + string(s3c.URL().Separator)
s3c, err = New(conf)
c.Assert(err, IsNil)