Skip to content
This repository was archived by the owner on May 12, 2021. It is now read-only.

Commit 0330aa0

Browse files
c3dfidencio
authored andcommitted
config: Fix typo in function name
There was an extra 'p' in addHypervisorVirtioFsOverrides. Fixes: #3004 Signed-off-by: Christophe de Dinechin <[email protected]>
1 parent 802bc99 commit 0330aa0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

virtcontainers/pkg/oci/utils.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ func addHypervisorConfigOverrides(ocispec specs.Spec, config *vc.SandboxConfig,
398398
return err
399399
}
400400

401-
if err := addHypervisporVirtioFsOverrides(ocispec, config, runtime); err != nil {
401+
if err := addHypervisorVirtioFsOverrides(ocispec, config, runtime); err != nil {
402402
return err
403403
}
404404

@@ -686,7 +686,7 @@ func addHypervisorBlockOverrides(ocispec specs.Spec, sbConfig *vc.SandboxConfig)
686686
return nil
687687
}
688688

689-
func addHypervisporVirtioFsOverrides(ocispec specs.Spec, sbConfig *vc.SandboxConfig, runtime RuntimeConfig) error {
689+
func addHypervisorVirtioFsOverrides(ocispec specs.Spec, sbConfig *vc.SandboxConfig, runtime RuntimeConfig) error {
690690
if value, ok := ocispec.Annotations[vcAnnotations.SharedFS]; ok {
691691
supportedSharedFS := []string{config.Virtio9P, config.VirtioFS}
692692
valid := false

0 commit comments

Comments
 (0)