mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 18:24:07 +00:00
move log restored state to better location.
This commit is contained in:
parent
fd35f652d4
commit
f7df3ec07f
@ -55,8 +55,6 @@ func NewStateCheckpoint(stateDir, checkpointName string) (State, error) {
|
||||
checkpointManager: checkpointManager,
|
||||
checkpointName: checkpointName,
|
||||
}
|
||||
|
||||
klog.V(2).InfoS("State checkpoint: restored pod resource allocation state from checkpoint")
|
||||
return stateCheckpoint, nil
|
||||
}
|
||||
|
||||
@ -73,6 +71,7 @@ func restoreState(checkpointManager checkpointmanager.CheckpointManager, checkpo
|
||||
}
|
||||
return nil, err
|
||||
}
|
||||
klog.V(2).InfoS("State checkpoint: restored pod resource allocation state from checkpoint")
|
||||
praInfo, err := checkpoint.GetPodResourceAllocationInfo()
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("failed to get pod resource allocation info: %w", err)
|
||||
|
Loading…
Reference in New Issue
Block a user