Skip to content

Commit

Permalink
fix: app config not triggering updates in own instance
Browse files Browse the repository at this point in the history
NATS echo isn't enabled anymore (for good reasons ;-))

Signed-off-by: Alexander Trost <[email protected]>
  • Loading branch information
galexrt committed Aug 9, 2024
1 parent ca6466a commit fbea531
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/config/appconfig/load.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ func (c *Config) Update(ctx context.Context, val *Cfg) error {
return err
}

// Retrieve config and publish event to "self" (we don't want to rely on nats echo functionality)
c.broker.Publish(c.Get())

return nil
}

Expand Down

0 comments on commit fbea531

Please sign in to comment.