staticcheck: ignore unused if platform dependent
This commit is contained in:
parent
1f9560e873
commit
9612ca6110
3 changed files with 4 additions and 2 deletions
|
@ -20,7 +20,7 @@ var (
|
|||
pluginName = "rclone"
|
||||
pluginScope = "local"
|
||||
baseDir = "/var/lib/docker-volumes/rclone"
|
||||
sockDir = "/run/docker/plugins" // location of unix sockets (only relevant on Linux and FreeBSD)
|
||||
sockDir = "/run/docker/plugins" //lint:ignore U1000 unused when not building linux
|
||||
defSpecDir = "/etc/docker/plugins"
|
||||
stateFile = "docker-plugin.state"
|
||||
socketAddr = "" // TCP listening address or empty string for Unix socket
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue