Skip to content

Commit 0bf52c4

Browse files
committed
mustparse
1 parent 0fa147b commit 0bf52c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/audit/request.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ func ResourceTarget[T Auditable](tgt T) string {
136136
// noID can be used for resources that do not have an uuid.
137137
// An example is singleton configuration resources.
138138
// 51A51C = "Static"
139-
var noID, _ = uuid.Parse("51A51C00-0000-0000-0000-000000000000")
139+
var noID = uuid.MustParse("51A51C00-0000-0000-0000-000000000000")
140140

141141
func ResourceID[T Auditable](tgt T) uuid.UUID {
142142
switch typed := any(tgt).(type) {

0 commit comments

Comments
 (0)