Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0fa147b commit 0bf52c4Copy full SHA for 0bf52c4
coderd/audit/request.go
@@ -136,7 +136,7 @@ func ResourceTarget[T Auditable](tgt T) string {
136
// noID can be used for resources that do not have an uuid.
137
// An example is singleton configuration resources.
138
// 51A51C = "Static"
139
-var noID, _ = uuid.Parse("51A51C00-0000-0000-0000-000000000000")
+var noID = uuid.MustParse("51A51C00-0000-0000-0000-000000000000")
140
141
func ResourceID[T Auditable](tgt T) uuid.UUID {
142
switch typed := any(tgt).(type) {
0 commit comments