Skip to content

Commit

Permalink
Apply review suggestion
Browse files Browse the repository at this point in the history
Signed-off-by: Florent Poinsard <[email protected]>
  • Loading branch information
frouioui committed Apr 19, 2024
1 parent 2690688 commit cfce401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/topo/zk2topo/lock.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ func (zs *Server) lock(ctx context.Context, dirPath, contents string) (topo.Lock
defer cancel()

if err := zs.conn.Delete(cleanupCtx, nodePath, -1); err != nil {
log.Warningf("Cleanup unsuccessful lock path %s: %v", nodePath, err)
log.Warningf("Failed to cleanup unsuccessful lock path %s: %v", nodePath, err)
}

// Show the other locks in the directory
Expand Down

0 comments on commit cfce401

Please sign in to comment.