mirror of https://github.com/knative/func.git
fix: hide a fmt.Println behind verbose flag (#538)
Signed-off-by: Lance Ball <lball@redhat.com>
This commit is contained in:
parent
a167b89d5a
commit
ad4607bd50
|
@ -92,7 +92,9 @@ func (d *Deployer) Deploy(ctx context.Context, f fn.Function) (result fn.Deploym
|
|||
return fn.DeploymentResult{}, err
|
||||
}
|
||||
|
||||
fmt.Println("Function deployed at URL: " + route.Status.URL.String())
|
||||
if d.Verbose {
|
||||
fmt.Println("Function deployed at URL: " + route.Status.URL.String())
|
||||
}
|
||||
return fn.DeploymentResult{
|
||||
Status: fn.Deployed,
|
||||
URL: route.Status.URL.String(),
|
||||
|
|
Loading…
Reference in New Issue