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 6, 2024
1 parent 351aad8 commit d330a7a
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 @@ -11,7 +11,7 @@ import (
"k8s.io/utils/ptr"
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 d330a7a

Please sign in to comment.