Skip to content

Commit 46ce7dc

Browse files
committed
[content-service] trust WorkspaceReadyMessage in logs
1 parent de5a41a commit 46ce7dc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

components/content-service-api/go/wsready.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,13 @@ const (
2222
WorkspaceInitFromOther WorkspaceInitSource = "from-other"
2323
)
2424

25+
type TrustedWorkspaceReadyMessage struct {
26+
WorkspaceReadyMessage
27+
}
28+
29+
//lint:ignore U1000 this is an interface marker for scrubber, to avoid redactions
30+
func (TrustedWorkspaceReadyMessage) isTrustedValue() {}
31+
2532
// WorkspaceReadyMessage describes the content of a workspace-ready file in a workspace
2633
type WorkspaceReadyMessage struct {
2734
Source WorkspaceInitSource `json:"source"`

0 commit comments

Comments
 (0)