Skip to content

Commit

Permalink
Merge pull request #1416 from atarax/sns_fifo_topic_fix
Browse files Browse the repository at this point in the history
[FIX] `fifoTopic`-property doesn't get properly stored in k8s
  • Loading branch information
haarchri authored Aug 10, 2022
2 parents c5ec106 + 3ede35f commit 978d56a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/clients/sns/topic.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func LateInitializeTopicAttr(in *v1beta1.TopicParameters, attrs map[string]strin

in.FifoTopic = nil
fifoTopic, err := strconv.ParseBool(attrs[string(TopicFifoTopic)])
if err != nil && fifoTopic {
if err == nil && fifoTopic {
in.FifoTopic = awsclients.LateInitializeBoolPtr(in.FifoTopic, aws.Bool(fifoTopic))
}
}
Expand Down

0 comments on commit 978d56a

Please sign in to comment.