Skip to content

Commit

Permalink
fix check-diff
Browse files Browse the repository at this point in the history
  • Loading branch information
ca7alindev committed Apr 30, 2024
1 parent c4679a7 commit 80b69c4
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 6 deletions.
2 changes: 1 addition & 1 deletion apis/category/category.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@ See the License for the specific language governing permissions and
limitations under the License.
*/

// Package categories contains group Categories API versions
// Package category contains group Category API versions
package category
2 changes: 1 addition & 1 deletion apis/category/v1alpha1/category_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ type CategoryStatus struct {
// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name"
// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp"
// +kubebuilder:subresource:status
// +kubebuilder:resource:scope=Cluster,category={crossplane,managed,magento}
// +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,magento}
type Category struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Expand Down
4 changes: 2 additions & 2 deletions apis/category/v1alpha1/groupversion_info.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ limitations under the License.

// Package v1alpha1 contains the v1alpha1 group Sample resources of the Magento provider.
// +kubebuilder:object:generate=true
// +groupName=categories.magento.crossplane.io
// +groupName=category.magento.crossplane.io
// +versionName=v1alpha1
package v1alpha1

Expand All @@ -27,7 +27,7 @@ import (

// Package type metadata.
const (
Group = "categories.magento.web7.md"
Group = "category.magento.web7.md"
Version = "v1alpha1"
)

Expand Down
27 changes: 26 additions & 1 deletion apis/category/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ type {{ .Env.KIND }}Status struct {
// +kubebuilder:printcolumn:name="EXTERNAL-NAME",type="string",JSONPath=".metadata.annotations.crossplane\\.io/external-name"
// +kubebuilder:printcolumn:name="AGE",type="date",JSONPath=".metadata.creationTimestamp"
// +kubebuilder:subresource:status
// +kubebuilder:resource:scope=Cluster,categories={crossplane,managed,{{ .Env.PROVIDER | strings.ToLower }}}
// +kubebuilder:resource:scope=Cluster,category={crossplane,managed,{{ .Env.PROVIDER | strings.ToLower }}}
type {{ .Env.KIND }} struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Expand Down

0 comments on commit 80b69c4

Please sign in to comment.