move log restored state to better location.

This commit is contained in:
Filipe Xavier 2025-01-30 12:06:12 -04:00 committed by GitHub
parent fd35f652d4
commit f7df3ec07f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)