Skip to content

Commit

Permalink
fixup! Add ComponentChanges support
Browse files Browse the repository at this point in the history
  • Loading branch information
pchila committed Jul 12, 2024
1 parent b26a8cc commit 3179341
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/client/client_v2.go
Original file line number Diff line number Diff line change
Expand Up @@ -667,6 +667,9 @@ func (c *clientV2) syncComponent(expected *proto.CheckinExpected) {
// we have to publish the new component config
component := MapComponent(expected.Component)

// Set ComponentIdx
component.ConfigIdx = expected.ComponentIdx

if component != nil && expected.ComponentIdx != c.componentIdx {
const publishTimeout = 500 * time.Millisecond
select {
Expand Down

0 comments on commit 3179341

Please sign in to comment.