Skip to content

Commit 74c5ec3

Browse files
aledbfroboquat
authored andcommitted
Errorf does not support error-wrapping directive
1 parent da1beff commit 74c5ec3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/ws-daemon/pkg/internal/session/workspace_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ func TestWaitOrMarkForDisposalRace(t *testing.T) {
215215

216216
done, _, err := ws.WaitOrMarkForDisposal(ctx)
217217
if err != nil {
218-
t.Errorf("WaitOrMarkForDisposal failed: %w", err)
218+
t.Errorf("WaitOrMarkForDisposal failed: %v", err)
219219
}
220220
if !done {
221221
atomic.AddInt32(&c, 1)

components/ws-manager/pkg/manager/create_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ func TestCreateDefiniteWorkspacePod(t *testing.T) {
9393

9494
b, err := yaml.Marshal(f.ctnt)
9595
if err != nil {
96-
t.Errorf("cannot re-marshal %s template: %w", f.tplfn, err)
96+
t.Errorf("cannot re-marshal %s template: %v", f.tplfn, err)
9797
return nil
9898
}
9999

0 commit comments

Comments
 (0)