Skip to content

Commit

Permalink
Merge pull request #1726 from giuseppe/fix-error-msg
Browse files Browse the repository at this point in the history
store: fix error message
  • Loading branch information
openshift-ci[bot] committed Oct 5, 2023
2 parents 2338cd1 + 0acc9b1 commit e21971a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store.go
Expand Up @@ -3411,7 +3411,7 @@ func (s *store) Shutdown(force bool) ([]string, error) {
// so that we reload after a .Shutdown() the same way other processes would.
// Shutdown() is basically an error path, so reliability is more important than performance.
if _, err2 := s.graphLock.RecordWrite(); err2 != nil {
err = fmt.Errorf("(graphLock.RecordWrite failed: %w", err2)
err = fmt.Errorf("graphLock.RecordWrite failed: %w", err2)
}
// Do the Cleanup() only after we are sure that the change was recorded with RecordWrite(), so that
// the next user picks it.
Expand Down

0 comments on commit e21971a

Please sign in to comment.