mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 23:15:14 +00:00
Update pkg/kubelet/status/state/checkpoint.go
Co-authored-by: Tim Allclair <timallclair@gmail.com>
This commit is contained in:
parent
b67a5623b1
commit
9d18e900c8
@ -43,7 +43,7 @@ func NewCheckpoint(allocations *PodResourceAllocationInfo) (*Checkpoint, error)
|
||||
|
||||
serializedAllocations, err := json.Marshal(allocations)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
return nil, fmt.Errorf("failed to serialize allocations for checkpointing: %w", err)
|
||||
}
|
||||
|
||||
cp := &Checkpoint{
|
||||
|
Loading…
Reference in New Issue
Block a user