Skip to content

Commit

Permalink
Fixed tier2 app not ready on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
maoueh committed Jan 21, 2025
1 parent d82b532 commit 6fb4ced
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/tier2.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ func (a *Tier2App) Run() error {

go func() {
a.logger.Info("launching gRPC server")
a.setIsReady(false)
a.setIsReady(true)

err := service.ListenTier2(a.config.GRPCListenAddr, a.config.ServiceDiscoveryURL, svc, trustAuth, a.logger, a.HealthCheck)
a.Shutdown(err)
Expand Down
6 changes: 4 additions & 2 deletions docs/release-notes/change-log.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased
## v1.12.1

* added extra ad-hoc prometheus labels 'tools prometheus-explorer' as query params to each endpoint.
* Fixed `tier2` app not setting itself as ready on startup

* Added extra ad-hoc prometheus labels 'tools prometheus-explorer' as query params to each endpoint.

## v1.12.0

Expand Down

0 comments on commit 6fb4ced

Please sign in to comment.