Skip to content

Commit 8e9912f

Browse files
jentingroboquat
authored andcommitted
If workspace Id is empty, return it
Signed-off-by: JenTing Hsiao <[email protected]>
1 parent 80eedaf commit 8e9912f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -971,6 +971,7 @@ func (m *Monitor) finalizeWorkspaceContent(ctx context.Context, wso *workspaceOb
971971
if !ok {
972972
tracing.LogError(span, xerrors.Errorf("cannot find %s annotation", workspaceIDAnnotation))
973973
log.Errorf("cannot find %s annotation", workspaceIDAnnotation)
974+
return
974975
}
975976

976977
var disposalStatus *workspaceDisposalStatus

0 commit comments

Comments
 (0)