Skip to content

Commit

Permalink
refactor: align with api structure in main
Browse files Browse the repository at this point in the history
Signed-off-by: Marco Nenciarini <[email protected]>
  • Loading branch information
mnencia committed Dec 18, 2024
1 parent 347512e commit 9135036
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
4 changes: 1 addition & 3 deletions api/v1/cluster_conditions.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,7 @@ limitations under the License.

package v1

import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
)
import metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"

// A Condition that can be used to communicate the Backup progress
var (
Expand Down
4 changes: 0 additions & 4 deletions api/v1/cluster_funcs.go
Original file line number Diff line number Diff line change
Expand Up @@ -1238,7 +1238,3 @@ func (p *Probe) ApplyInto(k8sProbe *corev1.Probe) {
k8sProbe.FailureThreshold = p.FailureThreshold
k8sProbe.TerminationGracePeriodSeconds = p.TerminationGracePeriodSeconds
}

func init() {
SchemeBuilder.Register(&Cluster{}, &ClusterList{})
}

0 comments on commit 9135036

Please sign in to comment.