mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 06:52:13 +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
|
||||
}
|
||||
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",
|
||||
seCmdlineParam, seCmdlineValues[0], strings.Join(seCmdlineValues[1:], ", "))
|
||||
}
|
||||
|
@ -8,8 +8,8 @@ package virtcontainers
|
||||
import (
|
||||
"context"
|
||||
"fmt"
|
||||
"time"
|
||||
"os"
|
||||
"time"
|
||||
|
||||
govmmQemu "github.com/kata-containers/govmm/qemu"
|
||||
"github.com/kata-containers/kata-containers/src/runtime/virtcontainers/types"
|
||||
|
Loading…
Reference in New Issue
Block a user