forked from TrueCloudLab/frostfs-s3-gw
Add a log line
This commit is contained in:
parent
589ab11401
commit
d6a970af48
1 changed files with 1 additions and 1 deletions
2
app.go
2
app.go
|
@ -103,8 +103,8 @@ func newApp(l *zap.Logger, v *viper.Viper) *App {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (a *App) Wait(ctx context.Context) {
|
func (a *App) Wait(ctx context.Context) {
|
||||||
|
defer a.log.Info("application finished")
|
||||||
a.log.Info("application started")
|
a.log.Info("application started")
|
||||||
|
|
||||||
select {
|
select {
|
||||||
case <-a.wrkDone: // wait for worker is stopped
|
case <-a.wrkDone: // wait for worker is stopped
|
||||||
<-a.webDone
|
<-a.webDone
|
||||||
|
|
Loading…
Reference in a new issue