Skip to content

Commit

Permalink
highavailability optios provider: require secret for optional fields
Browse files Browse the repository at this point in the history
  • Loading branch information
eguzki committed Oct 6, 2020
1 parent eea8b8f commit e1cb73e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func (h *HighAvailabilityOptionsProvider) setBackendRedisOptions() error {
}

for _, option := range casesWithDefault {
val, err := h.secretSource.FieldValue(option.secretName, option.secretField, option.defValue)
val, err := h.secretSource.FieldValueFromRequiredSecret(option.secretName, option.secretField, option.defValue)
if err != nil {
return err
}
Expand Down

0 comments on commit e1cb73e

Please sign in to comment.