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 <bin@hyper.sh>
This commit is contained in:
Bin Liu 2022-09-30 15:44:44 +08:00
parent 949ffcc457
commit 68e8a86aec

View File

@ -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
}