Skip to content

Commit 9d18e90

Browse files
Update pkg/kubelet/status/state/checkpoint.go
Co-authored-by: Tim Allclair <[email protected]>
1 parent b67a562 commit 9d18e90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/kubelet/status/state/checkpoint.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ func NewCheckpoint(allocations *PodResourceAllocationInfo) (*Checkpoint, error)
4343

4444
serializedAllocations, err := json.Marshal(allocations)
4545
if err != nil {
46-
return nil, err
46+
return nil, fmt.Errorf("failed to serialize allocations for checkpointing: %w", err)
4747
}
4848

4949
cp := &Checkpoint{

0 commit comments

Comments
 (0)