Skip to content

Commit

Permalink
Remove unused applier field from applier manager
Browse files Browse the repository at this point in the history
Seems to be a remnant from the past.

Signed-off-by: Tom Wieczorek <[email protected]>
(cherry picked from commit c2beea7)
(cherry picked from commit 4b2efbe)
  • Loading branch information
twz123 committed Oct 30, 2024
1 parent 87ce481 commit 04ba246
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/applier/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ type Manager struct {
K0sVars *config.CfgVars
KubeClientFactory kubeutil.ClientFactoryInterface

applier Applier
bundleDir string
stop func(reason string)
log *logrus.Entry
Expand All @@ -66,8 +65,6 @@ func (m *Manager) Init(ctx context.Context) error {
m.log = logrus.WithField("component", constant.ApplierManagerComponentName)
m.bundleDir = m.K0sVars.ManifestsDir

m.applier = NewApplier(m.K0sVars.ManifestsDir, m.KubeClientFactory)

m.LeaderElector.AddAcquiredLeaseCallback(func() {
ctx, cancel := context.WithCancelCause(ctx)
stopped := make(chan struct{})
Expand Down

0 comments on commit 04ba246

Please sign in to comment.