Skip to content

Commit

Permalink
Fix typos of Postgres Logical Replication CRDs. (#974)
Browse files Browse the repository at this point in the history
Signed-off-by: Rakibul-Hossain <rakibul.hossain@appscode.com>
  • Loading branch information
Rakibul Hossain committed Sep 19, 2022
1 parent d43f454 commit e26f641
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion apis/postgres/v1alpha1/publisher_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ const (

PublisherConditionTypeAllTablesFound PublisherConditionType = "AllTablesFound"
PublisherMessageAllTablesNotFound PublisherMessage = "All tables are not found"
PublisherMessageAllTablesFound PublisherMessage = "All tables are not found"
PublisherMessageAllTablesFound PublisherMessage = "All tables are found"

PublisherConditionTypePublicationSuccessful PublisherConditionType = "PublicationSuccessful"
PublisherMessagePublicationIsSuccessful PublisherMessage = "Publication is successful"
Expand Down
4 changes: 2 additions & 2 deletions apis/postgres/v1alpha1/subscriber_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ const (

SubscriberConditionTypeAllTablesFound SubscriberConditionType = "AllTablesFound"
SubscriberMessageAllTablesNotFound SubscriberMessage = "All tables are not found"
SubscriberMessageAllTablesFound SubscriberMessage = "All tables are not found"
SubscriberMessageAllTablesFound SubscriberMessage = "All tables are found"

SubscriberConditionTypeSubscriptionIsSuccessful SubscriberConditionType = "SubscriptionIsSuccessful"
SubscriberMessageSubscriptionIsSuccessful SubscriberMessage = "Subscription is successful"
Expand All @@ -158,7 +158,7 @@ const (
// +k8s:openapi-gen=true
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
// +kubebuilder:object:root=true
// +kubebuilder:resource:path=subscribers,singular=subsriber,shortName=sub,categories={datastore,kubedb,appscode,all}
// +kubebuilder:resource:path=subscribers,singular=subscriber,shortName=sub,categories={datastore,kubedb,appscode,all}
// +kubebuilder:subresource:status
// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase"
// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp"
Expand Down
2 changes: 1 addition & 1 deletion crds/postgres.kubedb.com_subscribers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
plural: subscribers
shortNames:
- sub
singular: subsriber
singular: subscriber
scope: Namespaced
versions:
- additionalPrinterColumns:
Expand Down

0 comments on commit e26f641

Please sign in to comment.