Merge pull request #327 from vzamanillo/fix-source-number

Fixed incorrect total sources count on list sources
master
bauthard 2020-09-22 01:05:28 +05:30 committed by GitHub
commit e234c26488
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ func hasStdin() bool {
} }
func listSources(options *Options) { func listSources(options *Options) {
gologger.Infof("Current list of available sources. [%d]\n", len(options.YAMLConfig.Sources)) gologger.Infof("Current list of available sources. [%d]\n", len(options.YAMLConfig.AllSources))
gologger.Infof("Sources marked with an * needs key or token in order to work.\n") gologger.Infof("Sources marked with an * needs key or token in order to work.\n")
gologger.Infof("You can modify %s to configure your keys / tokens.\n\n", options.ConfigFile) gologger.Infof("You can modify %s to configure your keys / tokens.\n\n", options.ConfigFile)