Skip to content

Commit

Permalink
remove todo
Browse files Browse the repository at this point in the history
  • Loading branch information
rboyer committed Aug 8, 2023
1 parent 714662c commit a928007
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions internal/catalog/internal/controllers/failover/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ const (
StatusKey = "consul.io/failover-policy"
StatusConditionHealthy = "healthy"

OKReason = "Ok"
OKReason = "Ok"
OKMessage = "failover policy is valid"

MissingServiceReason = "MissingService"
MissingServiceMessage = "service for failover policy does not exist"
Expand All @@ -32,10 +33,10 @@ const (

var (
ConditionOK = &pbresource.Condition{
Type: StatusConditionHealthy,
State: pbresource.Condition_STATE_TRUE,
Reason: OKReason,
// TODO: needs message?
Type: StatusConditionHealthy,
State: pbresource.Condition_STATE_TRUE,
Reason: OKReason,
Message: OKMessage,
}

ConditionMissingService = &pbresource.Condition{
Expand Down

0 comments on commit a928007

Please sign in to comment.