From 9bf4b859a12bd6ceb6b1782384b6a389ff527e55 Mon Sep 17 00:00:00 2001 From: Penny Zheng Date: Tue, 4 Feb 2020 11:50:26 +0800 Subject: [PATCH] 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 --- pkg/rootless/rootless.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/rootless/rootless.go b/pkg/rootless/rootless.go index 8366bb4b44..c26e3b87f9 100644 --- a/pkg/rootless/rootless.go +++ b/pkg/rootless/rootless.go @@ -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 )