mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-07 16:55:15 -04:00
disk-mapper: set LUKS2 token to allow reusing unintialized state disks (#2083)
Signed-off-by: Daniel Weiße <dw@edgeless.systems>
This commit is contained in:
parent
dc373971b2
commit
6a40c73ff7
10 changed files with 161 additions and 31 deletions
|
@ -413,6 +413,10 @@ func (s *stubMapper) UnmapDisk(string) error {
|
|||
return s.unmapDiskErr
|
||||
}
|
||||
|
||||
func (s *stubMapper) SetDiskToInitialized() error {
|
||||
return nil
|
||||
}
|
||||
|
||||
type stubMounter struct {
|
||||
mountCalled bool
|
||||
mountErr error
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue