From 68e8a86aec6943d486d4751e8c1bc7acd6fe0bbe Mon Sep 17 00:00:00 2001 From: Bin Liu Date: Fri, 30 Sep 2022 15:44:44 +0800 Subject: [PATCH] runtime: fix incorrect comment for SetFsSharingSupport function The comment for SetFsSharingSupport is not suitable, correct the function name. Fixes: #5285 Signed-off-by: Bin Liu --- src/runtime/virtcontainers/types/capabilities.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/virtcontainers/types/capabilities.go b/src/runtime/virtcontainers/types/capabilities.go index 28772f1b7..c035444b6 100644 --- a/src/runtime/virtcontainers/types/capabilities.go +++ b/src/runtime/virtcontainers/types/capabilities.go @@ -53,7 +53,7 @@ func (caps *Capabilities) IsFsSharingSupported() bool { return caps.flags&fsSharingSupported != 0 } -// SetFsSharingUnsupported sets the host filesystem sharing capability to true. +// SetFsSharingSupport sets the host filesystem sharing capability to true. func (caps *Capabilities) SetFsSharingSupport() { caps.flags |= fsSharingSupported }