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

Commit

Permalink
config: Fix typo in function name
Browse files Browse the repository at this point in the history
There was an extra 'p' in addHypervisorVirtioFsOverrides.

Fixes: #3004

Signed-off-by: Christophe de Dinechin <[email protected]>
  • Loading branch information
c3d authored and fidencio committed Nov 11, 2020
1 parent 4611567 commit 5848bec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions virtcontainers/pkg/oci/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ func addHypervisorConfigOverrides(ocispec specs.Spec, config *vc.SandboxConfig,
return err
}

if err := addHypervisporVirtioFsOverrides(ocispec, config, runtime); err != nil {
if err := addHypervisorVirtioFsOverrides(ocispec, config, runtime); err != nil {
return err
}

Expand Down Expand Up @@ -659,7 +659,7 @@ func addHypervisorBlockOverrides(ocispec specs.Spec, sbConfig *vc.SandboxConfig)
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 {
supportedSharedFS := []string{config.Virtio9P, config.VirtioFS}
valid := false
Expand Down

0 comments on commit 5848bec

Please sign in to comment.