File tree 2 files changed +0
-18
lines changed
2 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -80,11 +80,6 @@ const (
80
80
// LabelStartupInstance is used to indicate the startup instance associated with a resource
81
81
LabelStartupInstance = labelPrefix + "startup-instance"
82
82
83
- // TODO: Should we delete this?
84
- // LabelConsumedBySnapshotVolumeRestoreJob marks that a backup job should not be used in a
85
- // dedicatedVolumeSnapshotRestoreJob.
86
- LabelConsumedBySnapshotVolumeRestoreJob = labelPrefix + "consumed-by-snapshot-volume-restore-job"
87
-
88
83
RolePrimary = "primary"
89
84
RoleReplica = "replica"
90
85
Original file line number Diff line number Diff line change @@ -35,19 +35,6 @@ func Cluster(cluster string) metav1.LabelSelector {
35
35
}
36
36
}
37
37
38
- // ClusterUnconsumedBackupJobs selects backup jobs that have not been consumed
39
- // by a snapshot volume restore job.
40
- func ClusterUnconsumedBackupJobs (cluster string ) metav1.LabelSelector {
41
- return metav1.LabelSelector {
42
- MatchLabels : map [string ]string {
43
- LabelCluster : cluster ,
44
- },
45
- MatchExpressions : []metav1.LabelSelectorRequirement {
46
- {Key : LabelConsumedBySnapshotVolumeRestoreJob , Operator : metav1 .LabelSelectorOpDoesNotExist },
47
- },
48
- }
49
- }
50
-
51
38
// ClusterRestoreJobs selects all existing restore jobs in a cluster.
52
39
func ClusterRestoreJobs (cluster string ) metav1.LabelSelector {
53
40
return metav1.LabelSelector {
You can’t perform that action at this time.
0 commit comments