mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 12:10:24 +03:00
Adding GET and PUT methods for gateway
This commit is contained in:
+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