Skip to content
This repository has been archived by the owner on May 12, 2021. It is now read-only.

Commit

Permalink
AArch64: fix golint error on ARM CI.
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Pennyzct committed Feb 4, 2020
1 parent a91cb13 commit 9bf4b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/rootless/rootless.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
)

Expand Down

0 comments on commit 9bf4b85

Please sign in to comment.