Skip to content

Commit

Permalink
Merge pull request #130 from olivierlemasle/apply-features
Browse files Browse the repository at this point in the history
Apply Features flags (related to pprof)
  • Loading branch information
k8s-ci-robot authored Dec 9, 2022
2 parents 2134875 + a7c2ab6 commit e61b02b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkg/cmd/options/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,9 @@ func (o *CustomMetricsAdapterServerOptions) ApplyTo(serverConfig *genericapiserv
if err := o.Audit.ApplyTo(serverConfig); err != nil {
return err
}
if err := o.Features.ApplyTo(serverConfig); err != nil {
return err
}

// enable OpenAPI schemas
if o.OpenAPIConfig != nil {
Expand Down

0 comments on commit e61b02b

Please sign in to comment.