Skip to content

Commit

Permalink
fixes linting
Browse files Browse the repository at this point in the history
Signed-off-by: Joel Cooklin <joel.cooklin@gmail.com>
  • Loading branch information
jcooklin committed Aug 27, 2022
1 parent b8d295e commit a8e2129
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions apis/opensearchservice/v1alpha1/custom_types.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
package v1alpha1

// CustomDomainParameters includes the custom fields of Domain
type CustomDomainParameters struct{}
3 changes: 2 additions & 1 deletion pkg/controller/opensearchservice/domain/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ func postObserve(_ context.Context, cr *svcapitypes.Domain, resp *svcsdk.Describ
if resp.DomainStatus != nil {
if *resp.DomainStatus.Deleted {
cr.SetConditions(xpv1.Deleting())
} else if !*resp.DomainStatus.Created {
}
if !*resp.DomainStatus.Created {
cr.SetConditions(xpv1.Creating())
} else {
cr.SetConditions(xpv1.Available())
Expand Down

0 comments on commit a8e2129

Please sign in to comment.