Skip to content

Commit 2ca286a

Browse files
committed
fix: return correct error
1 parent 6fdbb64 commit 2ca286a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/api/internal/orchestrator/delete_instance.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
sbxlogger "github.com/e2b-dev/infra/packages/shared/pkg/logger/sandbox"
2020
)
2121

22-
func (o *Orchestrator) RemoveSandbox(ctx context.Context, teamID uuid.UUID, sandboxID string, opts sandbox.RemoveOpts) error {
22+
func (o *Orchestrator) RemoveSandbox(ctx context.Context, teamID uuid.UUID, sandboxID string, opts sandbox.RemoveOpts) (err error) {
2323
ctx, span := tracer.Start(ctx, "remove-sandbox")
2424
defer span.End()
2525

0 commit comments

Comments
 (0)