Skip to content

Commit

Permalink
2wr
Browse files Browse the repository at this point in the history
  • Loading branch information
yalosev committed Nov 12, 2023
1 parent e5b09c4 commit c03602c
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions pkg/module_manager/module_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ import (
"strings"
"time"

"sigs.k8s.io/yaml"

"github.com/flant/addon-operator/pkg/module_manager/loader"
"github.com/flant/addon-operator/pkg/module_manager/loader/fs"

Expand Down Expand Up @@ -707,17 +705,6 @@ func (mm *ModuleManager) RefreshEnabledState(logLabels map[string]string) (*Modu
// Update state
mm.enabledModules = enabledModules

// TODO: remove me
tmp := map[string]interface{}{
"AllEnabledModules": mm.enabledModules,
"ModulesToDisable": disabledModules,
"ModulesToEnable": newlyEnabledModules,
"byConfig": mm.enabledModulesByConfig,
"dynamic": enabledByDynamic,
}

data, _ := yaml.Marshal(tmp)

// Return lists for ConvergeModules task.
return &ModulesState{
AllEnabledModules: mm.enabledModules,
Expand Down

0 comments on commit c03602c

Please sign in to comment.