-
Bug
-
Resolution: Done
-
Normal
-
None
-
Incidents & Support
-
False
-
-
False
-
None
-
Unset
-
None
-
-
-
Kibana is reporting the following:
[...] runtime error: invalid memory address or nil pointer dereference goroutine [...] /build/middleware/user.go:36 [...]
And that line contains the following code:
userIDFromContext = xRhIdentity.Identity.User.UserID
We recently upgrade the "platform-go-middlewares" to a new version which makes the User struct to be a pointer, so that's probably the cause of the issue.