diff --git a/flytectl/pkg/sandbox/start.go b/flytectl/pkg/sandbox/start.go index e934ab5372..012f104b41 100644 --- a/flytectl/pkg/sandbox/start.go +++ b/flytectl/pkg/sandbox/start.go @@ -288,7 +288,7 @@ func StartDemoCluster(ctx context.Context, args []string, sandboxConfig *sandbox if err != nil { return err } - util.PrintDemoMessage(util.DemoConsolePort) + util.PrintSandboxMessage(util.DemoConsolePort) return nil } diff --git a/flytectl/pkg/util/util.go b/flytectl/pkg/util/util.go index 091ea21707..5fc54438ec 100644 --- a/flytectl/pkg/util/util.go +++ b/flytectl/pkg/util/util.go @@ -65,12 +65,6 @@ func PrintSandboxMessage(flyteConsolePort int) { fmt.Printf("export FLYTECTL_CONFIG=%v \n", configutil.FlytectlConfig) } -// PrintDemoMessage will print demo success message -func PrintDemoMessage(flyteConsolePort int) { - successMsg := fmt.Sprintf("%v http://localhost:%v/console", ProgressSuccessMessage, flyteConsolePort) - fmt.Printf("%v %v %v %v %v \n", emoji.ManTechnologist, successMsg, emoji.Rocket, emoji.Rocket, emoji.PartyPopper) -} - // SendRequest will create request and return the response func SendRequest(method, url string, option io.Reader) (*http.Response, error) { client := &http.Client{} diff --git a/flytectl/pkg/util/util_test.go b/flytectl/pkg/util/util_test.go index ebf67a902d..718a244d9c 100644 --- a/flytectl/pkg/util/util_test.go +++ b/flytectl/pkg/util/util_test.go @@ -29,12 +29,6 @@ func TestPrintSandboxMessage(t *testing.T) { }) } -func TestPrintDemoMessage(t *testing.T) { - t.Run("Print Demo Message", func(t *testing.T) { - PrintDemoMessage(DemoConsolePort) - }) -} - func TestSendRequest(t *testing.T) { t.Run("Successful get request", func(t *testing.T) { response, err := SendRequest("GET", "https://github.com", nil)