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

Commit 5848bec

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 4611567 commit 5848bec

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
@@ -395,7 +395,7 @@ func addHypervisorConfigOverrides(ocispec specs.Spec, config *vc.SandboxConfig,
395395
return err
396396
}
397397

398-
if err := addHypervisporVirtioFsOverrides(ocispec, config, runtime); err != nil {
398+
if err := addHypervisorVirtioFsOverrides(ocispec, config, runtime); err != nil {
399399
return err
400400
}
401401

@@ -659,7 +659,7 @@ func addHypervisorBlockOverrides(ocispec specs.Spec, sbConfig *vc.SandboxConfig)
659659
return nil
660660
}
661661

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

0 commit comments

Comments
 (0)