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 <twieczorek@mirantis.com>
(cherry picked from commit c2beea7)
  • Loading branch information
twz123 authored and github-actions[bot] committed Oct 29, 2024
1 parent 3058460 commit 4b2efbe
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 4b2efbe

Please sign in to comment.