admin: Move SetCredentials from Service to Generic (#3805)

Setting credentials doesn't belong to service management API
anymore.
This commit is contained in:
Anis Elleuch
2017-02-25 20:06:08 +01:00
committed by Harshavardhana
parent 69777b654e
commit 461b2bbd37
4 changed files with 108 additions and 57 deletions

View File

@@ -36,7 +36,7 @@ func main() {
log.Fatalln(err)
}
err = madmClnt.ServiceSetCredentials("YOUR-NEW-ACCESSKEY", "YOUR-NEW-SECRETKEY")
err = madmClnt.SetCredentials("YOUR-NEW-ACCESSKEY", "YOUR-NEW-SECRETKEY")
if err != nil {
log.Fatalln(err)
}