Skip to content

Commit

Permalink
Merge pull request #62 from Axway/APIGOV-18136
Browse files Browse the repository at this point in the history
APIGOV-18136 - set config team name
  • Loading branch information
sbolosan authored Mar 24, 2021
2 parents ee7b004 + e41149f commit 707335c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/agent/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -557,5 +557,9 @@ func applyResConfigToCentralConfig(cfg *config.CentralConfiguration, resCfgAddit
log.GlobalLoggerConfig.Level(logLevel).Apply()
}

cfg.TeamName = resCfgTeamName
// If config team is blank, check resource team name. If resource team name is not blank, use resource team name
if cfg.TeamName == "" && resCfgTeamName != "" {
cfg.TeamName = resCfgTeamName
}

}

0 comments on commit 707335c

Please sign in to comment.