mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Merge pull request #67877 from tianshapjq/podprefix-used
use podPrefix as it's defined
This commit is contained in:
commit
5401f9458b
@ -82,7 +82,7 @@ func checkAnnotations(pod *v1.Pod) bool {
|
||||
|
||||
//getPodKey returns the full qualified path for the pod checkpoint
|
||||
func getPodKey(pod *v1.Pod) string {
|
||||
return fmt.Sprintf("Pod%v%v.yaml", delimiter, pod.GetUID())
|
||||
return fmt.Sprintf("%s%s%v.yaml", podPrefix, delimiter, pod.GetUID())
|
||||
}
|
||||
|
||||
// LoadPods Loads All Checkpoints from disk
|
||||
|
Loading…
Reference in New Issue
Block a user