Skip to content

Commit

Permalink
chore: Display launcher version in master log on startup (determined-…
Browse files Browse the repository at this point in the history
  • Loading branch information
CanmingCobble authored and eecsliu committed Apr 16, 2024
1 parent 5f1ac4d commit 24b717a
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 24b717a

Please sign in to comment.