mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-04 11:06:21 +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:
parent
949ffcc457
commit
68e8a86aec
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user