mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-24 22:43:05 +00:00
AArch64: fix golint error on ARM CI.
Recently, ARM CI frequently failed on the following golint error: Error: pkg/rootless/rootless.go:57:2: comment on exported var `IsRootless` should be of the form `IsRootless ...` (golint) Fixes: #2434 Signed-off-by: Penny Zheng <penny.zheng@arm.com>
This commit is contained in:
parent
a91cb13be8
commit
9bf4b859a1
@ -54,7 +54,7 @@ var (
|
||||
"source": "rootless",
|
||||
})
|
||||
|
||||
//The function is declared this way for mocking in unit tests
|
||||
// IsRootless is declared this way for mocking in unit tests
|
||||
IsRootless = isRootlessFunc
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user