chore: improve messaging in func build (#562)

Fixes: https://github.com/knative-sandbox/kn-plugin-func/issues/552

Signed-off-by: Lance Ball <lball@redhat.com>
This commit is contained in:
Lance Ball 2021-10-07 09:41:36 -04:00 committed by GitHub
parent 7b80790bc9
commit eccc0ad368
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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