Merge pull request #5302 from liubin/fix/5285-SetFsSharingSupport-comment

runtime: fix incorrect comment for SetFsSharingSupport function
This commit is contained in:
Fupan Li 2022-10-09 09:40:31 +08:00 committed by GitHub
commit 2c88e1cd80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@ func (caps *Capabilities) IsFsSharingSupported() bool {
return caps.flags&fsSharingSupported != 0 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() { func (caps *Capabilities) SetFsSharingSupport() {
caps.flags |= fsSharingSupported caps.flags |= fsSharingSupported
} }