Upgrade go-cryptsetup to latest version

Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
Daniel Weiße 2022-03-23 11:00:07 +01:00 committed by Daniel Weiße
parent 656ad704d2
commit 752571bbf8
5 changed files with 14 additions and 9 deletions

View file

@ -6,7 +6,7 @@ import (
"testing"
"github.com/edgelesssys/constellation/mount/pkg/kms"
"github.com/martinjungblut/go-cryptsetup"
cryptsetup "github.com/martinjungblut/go-cryptsetup"
"github.com/stretchr/testify/assert"
)
@ -50,7 +50,7 @@ func (c *stubCryptDevice) Free() bool {
return true
}
func (c *stubCryptDevice) Load() error {
func (c *stubCryptDevice) Load(cryptsetup.DeviceType) error {
return c.loadErr
}