Commit 9daaf123 authored by tianshapjq's avatar tianshapjq

use podPrefix as it's defined

parent 78fc9bfd
...@@ -82,7 +82,7 @@ func checkAnnotations(pod *v1.Pod) bool { ...@@ -82,7 +82,7 @@ func checkAnnotations(pod *v1.Pod) bool {
//getPodKey returns the full qualified path for the pod checkpoint //getPodKey returns the full qualified path for the pod checkpoint
func getPodKey(pod *v1.Pod) string { 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 // LoadPods Loads All Checkpoints from disk
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment