Merge pull request #1257 from breed808/fix_iis_site_include
fix: Remove default value from deprecated IIS flag
This commit is contained in:
commit
eb1b1ccb54
|
@ -220,7 +220,7 @@ type IISCollector struct {
|
|||
}
|
||||
|
||||
func newIISCollectorFlags(app *kingpin.Application) {
|
||||
oldSiteInclude = app.Flag(FlagIISSiteOldInclude, "DEPRECATED: Use --collector.iis.site-include").Default(".+").Hidden().String()
|
||||
oldSiteInclude = app.Flag(FlagIISSiteOldInclude, "DEPRECATED: Use --collector.iis.site-include").Hidden().String()
|
||||
oldSiteExclude = app.Flag(FlagIISSiteOldExclude, "DEPRECATED: Use --collector.iis.site-exclude").Hidden().String()
|
||||
oldAppInclude = app.Flag(FlagIISAppOldInclude, "DEPRECATED: Use --collector.iis.app-include").Hidden().String()
|
||||
oldAppExclude = app.Flag(FlagIISAppOldExclude, "DEPRECATED: Use --collector.iis.app-exclude").Hidden().String()
|
||||
|
|
Loading…
Reference in New Issue