Skip to content

Commit

Permalink
build: move openapi/patterns under /api
Browse files Browse the repository at this point in the history
The goal is to remove dependency on the common/ package from /api
  • Loading branch information
dkoshkin committed Feb 5, 2024
1 parent 5b5780a commit 830fb26
Show file tree
Hide file tree
Showing 7 changed files with 3 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion api/v1alpha1/clusterconfig_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
clusterv1 "sigs.k8s.io/cluster-api/api/v1beta1"

"github.com/d2iq-labs/capi-runtime-extensions/common/pkg/openapi/patterns"
"github.com/d2iq-labs/capi-runtime-extensions/api/openapi/patterns"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions api/v1alpha1/docker_node_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ package v1alpha1
import (
clusterv1 "sigs.k8s.io/cluster-api/api/v1beta1"

"github.com/d2iq-labs/capi-runtime-extensions/common/pkg/openapi/patterns"
"github.com/d2iq-labs/capi-runtime-extensions/api/openapi/patterns"
)

type DockerNodeSpec struct {
//+optional
// +optional
CustomImage *OCIImage `json:"customImage,omitempty"`
}

Expand Down

0 comments on commit 830fb26

Please sign in to comment.