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

Commit

Permalink
virtcontainers/pkg/rootless: fix comment on exported var
Browse files Browse the repository at this point in the history
Fix comment on exported var `IsRootless` should be of the form
`IsRootless ...` (golint)

Signed-off-by: Julio Montes <julio.montes@intel.com>
  • Loading branch information
Julio Montes committed Feb 12, 2020
1 parent c36c667 commit a45cf62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion virtcontainers/pkg/rootless/rootless.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit a45cf62

Please sign in to comment.