We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf8cdaf commit b67a562Copy full SHA for b67a562
pkg/kubelet/status/state/checkpoint.go
@@ -39,9 +39,9 @@ type Checkpoint struct {
39
}
40
41
// NewCheckpoint creates a new checkpoint from a list of claim info states
42
-func NewCheckpoint(data *PodResourceAllocationInfo) (*Checkpoint, error) {
+func NewCheckpoint(allocations *PodResourceAllocationInfo) (*Checkpoint, error) {
43
44
- praData, err := json.Marshal(data)
+ serializedAllocations, err := json.Marshal(allocations)
45
if err != nil {
46
return nil, err
47
0 commit comments