From 65994db45e574c300f2abf89e2e98ac93f7f9622 Mon Sep 17 00:00:00 2001 From: Lance Ball Date: Tue, 5 Oct 2021 14:50:19 -0400 Subject: [PATCH] chore: improve messaging in func build Fixes: https://github.com/knative-sandbox/kn-plugin-func/issues/552 Signed-off-by: Lance Ball --- client.go | 2 +- cmd/build.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/client.go b/client.go index 7825408d4d..c4a1e3ceec 100644 --- a/client.go +++ b/client.go @@ -513,7 +513,7 @@ func (c *Client) Build(ctx context.Context, path string) (err error) { m := []string{ "Still building", - "Don't give up", + "Don't give up on me", "This is taking a while", "Still building"} ticker := time.NewTicker(5 * time.Second) diff --git a/cmd/build.go b/cmd/build.go index 5ed7719acb..e9b853c616 100644 --- a/cmd/build.go +++ b/cmd/build.go @@ -118,6 +118,7 @@ func runBuild(cmd *cobra.Command, _ []string, clientFn buildClientFn) (err error } return } + fmt.Println("Note: building a Function the first time will take longer than subsequent builds") } // We have the registry, so let's use it to derive the Function image name