mirror of
https://github.com/aljazceru/kata-containers.git
synced 2025-12-26 18:44:47 +01:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user