Пример #1
0
func (c *collectorCmd) Run(context *cmd.Context, client *cmd.Client) error {
	flags := map[string]interface{}{}
	flags["dry"] = c.dry
	flags["config"] = c.config
	collector.Run(flags)
	return nil
}
Пример #2
0
func (c *collectorCmd) Run(context *cmd.Context, client *cmd.Client) error {
	collector.Run(c.dry)
	return nil
}