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