mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 15:02:45 +00:00
runtime: Fix some leftover go fmt errors
A few "go fmt" errors appear to have crept it. Clean them up with "go fmt ./..." in the src/runtime directory. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
c811dd7484
commit
cf36fd87ad
@ -90,7 +90,7 @@ func availableGuestProtection() (guestProtection, error) {
|
|||||||
return noneProtection, err
|
return noneProtection, err
|
||||||
}
|
}
|
||||||
if !seCmdlinePresent {
|
if !seCmdlinePresent {
|
||||||
return noneProtection, fmt.Errorf("Protected Virtualization is not enabled on kernel command line! " +
|
return noneProtection, fmt.Errorf("Protected Virtualization is not enabled on kernel command line! "+
|
||||||
"Need %s=%s (or %s) to enable Secure Execution",
|
"Need %s=%s (or %s) to enable Secure Execution",
|
||||||
seCmdlineParam, seCmdlineValues[0], strings.Join(seCmdlineValues[1:], ", "))
|
seCmdlineParam, seCmdlineValues[0], strings.Join(seCmdlineValues[1:], ", "))
|
||||||
}
|
}
|
||||||
|
@ -8,8 +8,8 @@ package virtcontainers
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
|
||||||
"os"
|
"os"
|
||||||
|
"time"
|
||||||
|
|
||||||
govmmQemu "github.com/kata-containers/govmm/qemu"
|
govmmQemu "github.com/kata-containers/govmm/qemu"
|
||||||
"github.com/kata-containers/kata-containers/src/runtime/virtcontainers/types"
|
"github.com/kata-containers/kata-containers/src/runtime/virtcontainers/types"
|
||||||
|
Loading…
Reference in New Issue
Block a user