- 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

@@ -2,12 +2,13 @@ package container
import (
"fmt"
"github.com/hpcng/warewulf/internal/pkg/errors"
"github.com/hpcng/warewulf/internal/pkg/util"
"github.com/hpcng/warewulf/internal/pkg/wwlog"
"os"
"os/exec"
"path"
"github.com/hpcng/warewulf/internal/pkg/errors"
"github.com/hpcng/warewulf/internal/pkg/util"
"github.com/hpcng/warewulf/internal/pkg/wwlog"
)
func Build(name string, buildForce bool) (string, error) {

View File

@@ -2,10 +2,11 @@ package container
import (
"context"
"os"
"github.com/hpcng/warewulf/internal/pkg/config"
"github.com/hpcng/warewulf/internal/pkg/errors"
"github.com/hpcng/warewulf/internal/pkg/oci"
"os"
)
func PullURI(uri string, name string) error {

View File

@@ -1,13 +1,14 @@
package container
import (
"io/ioutil"
"os"
"path"
"github.com/hpcng/warewulf/internal/pkg/config"
"github.com/hpcng/warewulf/internal/pkg/errors"
"github.com/hpcng/warewulf/internal/pkg/util"
"github.com/hpcng/warewulf/internal/pkg/wwlog"
"io/ioutil"
"os"
"path"
)
func ValidName(name string) bool {