gateway: make each backend as subcommands. (#4506)

Fixes #4450
This commit is contained in:
Bala FA
2017-06-09 11:58:45 +05:30
committed by Harshavardhana
parent ec2920e981
commit 3dfe254a11
3 changed files with 95 additions and 38 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ import (
)
// Prints the formatted startup message.
func printGatewayStartupMessage(apiEndPoints []string, accessKey, secretKey, backendType string) {
func printGatewayStartupMessage(apiEndPoints []string, accessKey, secretKey string, backendType gatewayBackend) {
// Prints credential.
printGatewayCommonMsg(apiEndPoints, accessKey, secretKey)