mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-12 05:12:37 +00:00
config: Fix typo in function name
There was an extra 'p' in addHypervisorVirtioFsOverrides. Fixes: #901 Signed-off-by: Christophe de Dinechin <dinechin@redhat.com>
This commit is contained in:
parent
bf13ff0a3a
commit
2e093dfd8b
@ -385,7 +385,7 @@ func addHypervisorConfigOverrides(ocispec specs.Spec, config *vc.SandboxConfig,
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := addHypervisporVirtioFsOverrides(ocispec, config, runtime); err != nil {
|
if err := addHypervisorVirtioFsOverrides(ocispec, config, runtime); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -671,7 +671,7 @@ func addHypervisorBlockOverrides(ocispec specs.Spec, sbConfig *vc.SandboxConfig)
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func addHypervisporVirtioFsOverrides(ocispec specs.Spec, sbConfig *vc.SandboxConfig, runtime RuntimeConfig) error {
|
func addHypervisorVirtioFsOverrides(ocispec specs.Spec, sbConfig *vc.SandboxConfig, runtime RuntimeConfig) error {
|
||||||
if value, ok := ocispec.Annotations[vcAnnotations.SharedFS]; ok {
|
if value, ok := ocispec.Annotations[vcAnnotations.SharedFS]; ok {
|
||||||
supportedSharedFS := []string{config.Virtio9P, config.VirtioFS}
|
supportedSharedFS := []string{config.Virtio9P, config.VirtioFS}
|
||||||
valid := false
|
valid := false
|
||||||
|
Loading…
Reference in New Issue
Block a user