virtcontainers/pkg/rootless: fix comment on exported var

Fix comment on exported var `IsRootless` should be of the form
`IsRootless ...` (golint)

Signed-off-by: Julio Montes <julio.montes@intel.com>
This commit is contained in:
Julio Montes 2020-02-04 16:41:17 +00:00
parent c36c667b10
commit a45cf62e75

View File

@ -65,7 +65,7 @@ func SetLogger(ctx context.Context, logger *logrus.Entry) {
rootlessLog = logger.WithFields(fields)
}
// IsRootless states whether kata is being ran with root or not
// isRootlessFunc states whether kata is being ran with root or not
func isRootlessFunc() bool {
rLock.Lock()
defer rLock.Unlock()