Skip to content

Commit

Permalink
Fix %s-for-bool bug in store messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
jhunt committed Aug 9, 2018
1 parent 8c3138e commit ac1cd97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/core.go
Original file line number Diff line number Diff line change
Expand Up @@ -669,11 +669,11 @@ func (core *Core) worker(id int) {
core.failTask(task, "shield worker %d unable to retrieve store object from database", id)
continue
}
log.Infof("marking store %s [%s] as unhealthy", store.Name, store.Healthy)
log.Infof("marking store %s [%s] as unhealthy", store.Name, store.UUID)
store.Healthy = false
err = core.DB.UpdateStore(store)
if err != nil {
log.Errorf("error updating store: %s", err)
log.Errorf("error updating store %s [%s]: %s", store.Name, store.UUID, err)
}
}
continue
Expand Down

0 comments on commit ac1cd97

Please sign in to comment.