use lager.Data instead of a formatted string
@@ -171,7 +171,7 @@ func (p *containerProvider) FindOrCreateContainer(
if !acquired {
time.Sleep(creatingContainerRetryDelay)
- logger.Debug(fmt.Sprintf("did-not-acquire-creating-container-lock-%d", creatingContainer.ID()))
+ logger.Debug("did-not-acquire-creating-container-lock", lager.Data{"containerID": creatingContainer.ID()})
continue
}
