mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Update pkg/kubelet/status/state/state_checkpoint.go
Co-authored-by: Tim Allclair <timallclair@gmail.com>
This commit is contained in:
parent
8edc80c470
commit
114d4df4b4
@ -98,8 +98,7 @@ func (sc *stateCheckpoint) storeState() error {
|
||||
ResizeStatusEntries: podResizeStatus,
|
||||
})
|
||||
if err != nil {
|
||||
klog.ErrorS(err, "Failed to create checkpoint")
|
||||
return err
|
||||
return fmt.Errorf("failed to create checkpoint: %w", err)
|
||||
}
|
||||
err = sc.checkpointManager.CreateCheckpoint(sc.checkpointName, checkpoint)
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user