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 authored May 24, 2023
1 parent ee1b181 commit 968de72
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 968de72

Please sign in to comment.