Skip to content

Commit

Permalink
fix: improve resourcemanager handling of augmented header (#2584)
Browse files Browse the repository at this point in the history
  • Loading branch information
schoren committed Jun 5, 2023
1 parent 516f2d2 commit f386e7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/resourcemanager/resource_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ func (m *manager[T]) get(w http.ResponseWriter, r *http.Request) {
id := id.ID(vars["id"])

getterFn := m.rh.Get
if isRequestForAugmented(r) {
if isRequestForAugmented(r) && m.rh.GetAugmented != nil {
getterFn = m.rh.GetAugmented
}

Expand Down

0 comments on commit f386e7b

Please sign in to comment.