Skip to content

Commit d8468be

Browse files
committed
fix linting
Signed-off-by: Luca Di Maio <luca.dimaio1@gmail.com>
1 parent 36b8345 commit d8468be

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

cmd/enter.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ import (
1010
)
1111

1212
// EnterCmd holds the cmd flags
13-
type EnterCmd struct{
14-
}
13+
type EnterCmd struct{}
1514

1615
// NewEnterCmd defines a command
1716
func NewEnterCmd() *cobra.Command {

main.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@ import (
99
"github.com/loft-sh/devpod-provider-dockerless/cmd"
1010
)
1111

12-
//nolint: typecheck
12+
// nolint: typecheck
13+
//
1314
//go:embed rootlesskit
1415
var rootlesskit []byte
1516
var rootlesskitPath = filepath.Join("/tmp/dockerless", "rootlesskit")
1617

17-
//nolint: typecheck
18+
// nolint: typecheck
19+
//
1820
//go:embed slirp4netns
1921
var slirp4netns []byte
2022
var slirp4netnsPath = filepath.Join("/tmp/dockerless", "slirp4netns")

pkg/dockerless/start.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ func (p *DockerlessProvider) Start(ctx context.Context, workspaceId string) erro
7373
"/etc",
7474
}...)
7575
}
76-
7776
} else {
7877
command = "unshare"
7978
args = []string{

0 commit comments

Comments
 (0)