This commit is contained in:
Mikalai Radchuk 2022-11-28 17:03:33 +00:00 коммит произвёл Mikalai Radchuk
Родитель 9eb582b9ee
Коммит f85de59e0e
2 изменённых файлов: 6 добавлений и 12 удалений

Просмотреть файл

@ -34,7 +34,6 @@ const (
type Reconciler struct {
log *logrus.Entry
role string
checkers []Checker
arocli aroclient.Interface
}
@ -52,7 +51,6 @@ func NewReconciler(log *logrus.Entry, arocli aroclient.Interface, kubernetescli
return &Reconciler{
log: log,
role: role,
checkers: checkers,
arocli: arocli,
}

Просмотреть файл

@ -33,11 +33,9 @@ const (
type Reconciler struct {
log *logrus.Entry
arocli aroclient.Interface
configcli configclient.Interface
kubernetescli kubernetes.Interface
arocli aroclient.Interface
configcli configclient.Interface
restConfig *rest.Config
workarounds []Workaround
}
@ -48,12 +46,10 @@ func NewReconciler(log *logrus.Entry, arocli aroclient.Interface, configcli conf
}
return &Reconciler{
log: log,
arocli: arocli,
configcli: configcli,
kubernetescli: kubernetescli,
restConfig: restConfig,
workarounds: []Workaround{NewSystemReserved(log, mcocli, dh), NewIfReload(log, kubernetescli)},
log: log,
arocli: arocli,
configcli: configcli,
workarounds: []Workaround{NewSystemReserved(log, mcocli, dh), NewIfReload(log, kubernetescli)},
}
}