mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-22 12:29:49 +00:00
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:
@@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user