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]>
  • Loading branch information
twz123 committed Oct 1, 2024
1 parent 404c6cf commit c2beea7
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 c2beea7

Please sign in to comment.