Fix linting issues
This commit is contained in:
@@ -2,10 +2,10 @@ package stop
|
||||
|
||||
import (
|
||||
"github.com/hpcng/warewulf/internal/pkg/warewulfd"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
func CobraRunE(cmd *cobra.Command, args []string) error {
|
||||
warewulfd.DaemonStop()
|
||||
return nil
|
||||
return errors.Wrap(warewulfd.DaemonStop(), "failed to stop warewulf daemon")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user