Skip to content

Commit 9d88718

Browse files
committed
log
1 parent e6605c2 commit 9d88718

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

components/ws-daemon/pkg/controller/workspace_controller.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,8 @@ func (wsc *WorkspaceController) doWorkspaceContentBackup(ctx context.Context, sp
357357
// We should get an event when the condition changes, but requeue
358358
// anyways to make sure we act on it in time.
359359
return ctrl.Result{RequeueAfter: 500 * time.Millisecond}, nil
360+
} else {
361+
glog.WithFields(ws.OWI()).WithField("workspace", req.NamespacedName).Warn("workspace container is still running after 5 minutes of deletion, starting backup anyway")
360362
}
361363
}
362364

0 commit comments

Comments
 (0)