mirror of https://github.com/hashicorp/consul
Update controller.go
Co-authored-by: Nick Cellino <nick.cellino@hashicorp.com>pull/20435/head
parent
2069bd134a
commit
c0446fd670
|
@ -147,7 +147,7 @@ func writeTelemetryStateIfUpdated(ctx context.Context, rt controller.Runtime, st
|
|||
return err
|
||||
}
|
||||
|
||||
if currentState != nil && proto.Equal(currentState, state) {
|
||||
if currentState != nil && proto.Equal(currentState.GetData(), state) {
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue