diff --git a/pkg/openevec/start.go b/pkg/openevec/start.go index ab380f240..6d8f99aed 100644 --- a/pkg/openevec/start.go +++ b/pkg/openevec/start.go @@ -6,7 +6,6 @@ import ( "github.com/lf-edge/eden/pkg/eden" log "github.com/sirupsen/logrus" - "github.com/spf13/viper" ) func (openEVEC *OpenEVEC) StartAdam() error { @@ -28,15 +27,6 @@ func (openEVEC *OpenEVEC) StartAdam() error { return nil } -func stopAdam(_ string) error { - adamRm := viper.GetBool("adam-rm") - - if err := eden.StopAdam(adamRm); err != nil { - return fmt.Errorf("cannot stop adam: %w", err) - } - return nil -} - func (openEVEC *OpenEVEC) GetAdamStatus() (string, error) { statusAdam, err := eden.StatusAdam() if err != nil {