Skip to content

Commit

Permalink
chore(api-usage-monitoring filter): add deprecation comment (#949)
Browse files Browse the repository at this point in the history
Signed-off-by: Maxim Tschumak <maxim.tschumak@gmail.com>
  • Loading branch information
maxim-tschumak committed Apr 16, 2019
1 parent 2e3d2a7 commit 0d92f6f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion skipper.go
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ type Options struct {
ApiUsageMonitoringRealmKeys string
ApiUsageMonitoringClientKeys string
ApiUsageMonitoringRealmsTrackingPattern string
// Deprecated: ApiUsageMonitoringDefaultClientTrackingPattern
// *DEPRECATED* ApiUsageMonitoringDefaultClientTrackingPattern
ApiUsageMonitoringDefaultClientTrackingPattern string

// Default filters directory enables default filters mechanism and sets the directory where the filters are located
Expand Down Expand Up @@ -763,6 +763,7 @@ func Run(o Options) error {
return err
}

// *DEPRECATED* client tracking parameter
if o.ApiUsageMonitoringDefaultClientTrackingPattern != "" {
log.Warn(`"ApiUsageMonitoringDefaultClientTrackingPattern" option is deprecated`)
}
Expand Down

0 comments on commit 0d92f6f

Please sign in to comment.