lxc / lxcri

CRI-O support for lxc
Apache License 2.0
65 stars 18 forks source link

unused timeNamespace build error from staticcheck #67

Open parallastra opened 4 months ago

parallastra commented 4 months ago

When #50 was implemented, the assignment of timeNamespace was commented out, but not the declaration, thus an error is issued when calling $ PATH="$HOME/go/bin:$PATH" make

go fmt ./...
shfmt -w ./install.sh
golint ./...
go mod tidy
staticcheck ./...
namespaces.go:27:2: var timeNamespace is unused (U1000)

the simple workaround is to also comment out the declaration.

r10r commented 4 months ago

Dear @parallastra. Sorry, but this project is currently not maintained. See #64.