Skip to content

Commit

Permalink
golint: fix the error on make check
Browse files Browse the repository at this point in the history
Fix the golang lint on make check:

```
golangci-lint run
config/default.go:27:2: `oldDefaultRootDir` is unused (deadcode)
	oldDefaultRootDir              = "/var/lib/containerd-nydus-grpc"
	^
make: *** [Makefile:73: check] Error 1
```

Signed-off-by: Yan Song <[email protected]>
  • Loading branch information
imeoer committed Feb 13, 2023
1 parent 30ab18c commit 1bdade8
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion config/default.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ const (
nydusImageBinaryName string = "nydus-image"

defaultRootDir = "/var/lib/containerd-nydus"
oldDefaultRootDir = "/var/lib/containerd-nydus-grpc"
defaultSystemControllerAddress = "/var/lib/containerd-nydus/system.sock"

// Log rotation
Expand Down

0 comments on commit 1bdade8

Please sign in to comment.