mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 10:43:56 +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)
|
serializedAllocations, err := json.Marshal(allocations)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, err
|
return nil, fmt.Errorf("failed to serialize allocations for checkpointing: %w", err)
|
||||||
}
|
}
|
||||||
|
|
||||||
cp := &Checkpoint{
|
cp := &Checkpoint{
|
||||||
|
Loading…
Reference in New Issue
Block a user