mirror of
https://github.com/minio/minio.git
synced 2026-11-26 15:25:53 +00:00
Adding GET and PUT methods for gateway
This commit is contained in:
1 parent
58859a0ecc
commit
1bf6fe1f68
2 files changed
+52
-10
No files matched your search
+2
-2
@@ -28,8 +28,8 @@ func (s *MySuite) TestPrintsGateway(c *C) {
|
||||
log.Fatal(err)
|
||||
}
|
||||
bodyString := string(body)
|
||||
if bodyString != "Gateway" {
|
||||
log.Fatal("Expected 'Gateway', Received '" + bodyString + "'")
|
||||
if bodyString == "" {
|
||||
log.Fatal("Expected '', Received '" + bodyString + "'")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user