Skip to content

Commit b67a562

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/kubelet/status/state/checkpoint.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ type Checkpoint struct {
3939
}
4040

4141
// NewCheckpoint creates a new checkpoint from a list of claim info states
42-
func NewCheckpoint(data *PodResourceAllocationInfo) (*Checkpoint, error) {
42+
func NewCheckpoint(allocations *PodResourceAllocationInfo) (*Checkpoint, error) {
4343

44-
praData, err := json.Marshal(data)
44+
serializedAllocations, err := json.Marshal(allocations)
4545
if err != nil {
4646
return nil, err
4747
}

0 commit comments

Comments
 (0)