Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion components/ws-daemon/pkg/iws/uidmap.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func WriteMapping(hostPID uint64, gid bool, mapping []*api.WriteIDMappingRequest
return nil
}

// findHosPID translates an in-container PID to the root PID namespace.
// findHostPID translates an in-container PID to the root PID namespace.
func (m *Uidmapper) findHostPID(containerPID, inContainerPID uint64) (uint64, error) {
paths := []string{fmt.Sprint(containerPID)}
seen := make(map[string]struct{})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@ func (r *WorkspaceReconciler) deleteSecret(ctx context.Context, name, namespace
return err
}

// errorLogConflict logs the error if it's a conflict, instead of returning it as a reconciler error.
// errorResultLogConflict logs the error if it's a conflict, instead of returning it as a reconciler error.
// This is to reduce noise in our error logging, as conflicts are to be expected.
// For conflicts, instead a result with `Requeue: true` is returned, which has the same requeuing
// behaviour as returning an error.
Expand Down