Skip to content

Commit

Permalink
Remove unused function stopAdam
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Abramov <[email protected]>
  • Loading branch information
uncleDecart committed Oct 23, 2024
1 parent 41bac05 commit 0479cde
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions pkg/openevec/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down

0 comments on commit 0479cde

Please sign in to comment.