func runGet(config davconf.Config, args []string) error { factory := NewFactory() factory.SetConfig(config) cmd, err := factory.Create("get") Expect(err).ToNot(HaveOccurred()) return cmd.Run(args) }
func runGet(config davconf.Config, args []string) error { logger := boshlog.NewLogger(boshlog.LevelNone) factory := NewFactory(logger) factory.SetConfig(config) cmd, err := factory.Create("get") Expect(err).ToNot(HaveOccurred()) return cmd.Run(args) }