From 83f730344484926f3fecc9af2a4f3c999b960dff Mon Sep 17 00:00:00 2001 From: Craig MacKenzie Date: Thu, 2 Nov 2023 21:58:24 -0400 Subject: [PATCH] Remove check on unused field. --- pkg/component/runtime/state.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/pkg/component/runtime/state.go b/pkg/component/runtime/state.go index 203f453fa76..5c1237293b4 100644 --- a/pkg/component/runtime/state.go +++ b/pkg/component/runtime/state.go @@ -359,13 +359,6 @@ func (s *ComponentState) syncCheckin(checkin *proto.CheckinObserved) bool { if s.FeaturesIdx != checkin.FeaturesIdx { s.FeaturesIdx = checkin.FeaturesIdx - if checkin.Features != nil { - s.Features = &proto.Features{ - Fqdn: &proto.FQDNFeature{ - Enabled: checkin.Features.Fqdn.Enabled, - }, - } - } changed = true }