- Ran goimports to format code and imports
- Removed unused module from go.mod
- Added .editorconfig to keep formatting standard across contributors
This commit is contained in:
Ian Kaneshiro
2021-02-16 11:52:42 -08:00
parent 2558abad06
commit 846b45524c
78 changed files with 249 additions and 175 deletions

View File

@@ -4,13 +4,14 @@ package child
import (
"fmt"
"os"
"path"
"syscall"
"github.com/hpcng/warewulf/internal/pkg/container"
"github.com/hpcng/warewulf/internal/pkg/util"
"github.com/hpcng/warewulf/internal/pkg/wwlog"
"github.com/spf13/cobra"
"os"
"path"
"syscall"
)
func CobraRunE(cmd *cobra.Command, args []string) error {

View File

@@ -4,12 +4,13 @@ package exec
import (
"fmt"
"github.com/hpcng/warewulf/internal/pkg/container"
"github.com/hpcng/warewulf/internal/pkg/wwlog"
"github.com/spf13/cobra"
"os"
"os/exec"
"syscall"
"github.com/hpcng/warewulf/internal/pkg/container"
"github.com/hpcng/warewulf/internal/pkg/wwlog"
"github.com/spf13/cobra"
)
func CobraRunE(cmd *cobra.Command, args []string) error {