Better logging for teams api calls

This commit is contained in:
Murat Kabilov
2017-05-12 11:41:32 +02:00
parent 5b66d0adba
commit 101dc06acb
5 changed files with 28 additions and 9 deletions
+1
View File
@@ -45,6 +45,7 @@ func New(controllerConfig *Config, operatorConfig *config.Config) *Controller {
logger.Level = logrus.DebugLevel
}
controllerConfig.TeamsAPIClient = teams.NewTeamsAPI(operatorConfig.TeamsAPIUrl, logger)
return &Controller{
Config: *controllerConfig,
opConfig: operatorConfig,