Ejemplo n.º 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
}
Ejemplo n.º 2
0
func (c *collectorCmd) Run(context *cmd.Context, client *cmd.Client) error {
	collector.Run(c.dry)
	return nil
}