Skip to content

Commit

Permalink
daisy: don't close cloud logger (#432)
Browse files Browse the repository at this point in the history
  • Loading branch information
adjackura authored May 29, 2018
1 parent b9c0d75 commit 3b84250
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions daisy/logger.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,6 @@ func (w *Workflow) createLogger(ctx context.Context) {
cloudLogName := fmt.Sprintf("daisy-%s-%s", w.Name, w.id)
l.cloudLogger = w.cloudLoggingClient.Logger(cloudLogName)
periodicFlush(func() { l.cloudLogger.Flush() })

w.addCleanupHook(func() dErr {
if err := w.cloudLoggingClient.Close(); err != nil {
return errf("error returned when closing Cloud logger client: %s", err)
}
return nil
})
}
}

Expand Down

0 comments on commit 3b84250

Please sign in to comment.