mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-26 15:32:30 +00: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:
parent
c36c667b10
commit
a45cf62e75
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user