Skip to content

Commit

Permalink
chore: Display launcher version in master log on startup (#601)
Browse files Browse the repository at this point in the history
  • Loading branch information
CanmingCobble authored and djanicekpach committed Feb 29, 2024
1 parent 166992b commit b99a5ed
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1251,7 +1251,11 @@ func (m *dispatcherResourceManager) getAndCheckLauncherVersion(ctx *actor.Contex
resp, _, err := m.apiClient.InfoApi.GetServerVersion(m.authContext(ctx)).Execute()
if err == nil {
if checkMinimumLauncherVersion(resp) {
m.launcherVersionIsOK = true
if !m.launcherVersionIsOK {
m.launcherVersionIsOK = true
logrus.Info(fmt.Sprintf("Determined HPC launcher %s at %s:%d",
resp, m.rmConfig.LauncherHost, m.rmConfig.LauncherPort))
}
}
}
if !m.launcherVersionIsOK {
Expand Down

0 comments on commit b99a5ed

Please sign in to comment.