From 824fbb6368764c113bd7405a0b5356ea711828a7 Mon Sep 17 00:00:00 2001 From: Chandrapal Date: Fri, 10 May 2019 03:41:30 +0530 Subject: [PATCH] Updated config.toml reference url (#809) * Update URL in scan.go * Update URL in configtest.go --- commands/configtest.go | 2 +- commands/scan.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/configtest.go b/commands/configtest.go index eb0b41ea..0a00e77c 100644 --- a/commands/configtest.go +++ b/commands/configtest.go @@ -119,7 +119,7 @@ func (p *ConfigtestCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interfa msg := []string{ fmt.Sprintf("Error loading %s", p.configPath), "If you update Vuls and get this error, there may be incompatible changes in config.toml", - "Please check README: https://github.com/future-architect/vuls#configuration", + "Please check config.toml template : https://vuls.io/docs/en/usage-settings.html", } util.Log.Errorf("%s\n%+v", strings.Join(msg, "\n"), err) return subcommands.ExitUsageError diff --git a/commands/scan.go b/commands/scan.go index 3a6ded7b..ab50c98d 100644 --- a/commands/scan.go +++ b/commands/scan.go @@ -145,7 +145,7 @@ func (p *ScanCmd) Execute(_ context.Context, f *flag.FlagSet, _ ...interface{}) msg := []string{ fmt.Sprintf("Error loading %s", p.configPath), "If you update Vuls and get this error, there may be incompatible changes in config.toml", - "Please check README: https://github.com/future-architect/vuls#configuration", + "Please check config.toml template : https://vuls.io/docs/en/usage-settings.html", } util.Log.Errorf("%s\n%+v", strings.Join(msg, "\n"), err) return subcommands.ExitUsageError