From 9f2316a2c515b855e85fcae42f9a6d4a6d49c4f7 Mon Sep 17 00:00:00 2001 From: Will Murphy <wmurphy@pivotal.io> Date: Thu, 14 Feb 2019 11:02:11 -0800 Subject: [PATCH] WIP - left on playground --- plugin/plugin_examples/basic_plugin.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/plugin/plugin_examples/basic_plugin.go b/plugin/plugin_examples/basic_plugin.go index bc37b0f375..42bcf648c6 100644 --- a/plugin/plugin_examples/basic_plugin.go +++ b/plugin/plugin_examples/basic_plugin.go @@ -49,15 +49,11 @@ func (c *BasicPlugin) Run(cliConnection plugin.CliConnection, args []string) { println("need a space!") } - fmt.Println("Testing v7 command...") - out, err := cliConnection.V3CliCommand("app", "dora") - fmt.Println(out) + out, err := cliConnection.V3CliCommand("push", "dora", "--droplet", "/tmp/dora.droplet") if err != nil { fmt.Printf("running command broke: %s\n", err.Error()) } - fmt.Println("Testing legacy command...") - out, err = cliConnection.V3CliCommand("create-quota", "testing-quota", "-i", "256m") fmt.Println(out) if err != nil { fmt.Printf("running legacy command broke: %s\n", err.Error()) -- GitLab