Skip to content

Commit df23e2a

Browse files
alicefrjlebon
authored andcommitted
daemon: remove unused fakeExecutor.reset method
Signed-off-by: Alice Frosi <afrosi@redhat.com>
1 parent 5d8f2b9 commit df23e2a

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

internal/daemon/fake_test.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -94,17 +94,6 @@ func (f *fakeExecutor) getRebooted() bool {
9494
return f.rebooted
9595
}
9696

97-
func (f *fakeExecutor) reset() {
98-
f.mu.Lock()
99-
defer f.mu.Unlock()
100-
f.status = bootc.Status{}
101-
f.statusErr = nil
102-
f.stageErr = nil
103-
f.stageImg = ""
104-
f.stageHook = nil
105-
f.rebooted = false
106-
}
107-
10897
func newBootEntry(image, digest string) *bootc.BootEntry {
10998
return &bootc.BootEntry{
11099
Image: &bootc.ImageStatus{

0 commit comments

Comments
 (0)