mirror of https://github.com/knative/func.git
pass through verbose mode
This commit is contained in:
parent
9671e5af74
commit
5ec4ac644a
|
@ -135,7 +135,7 @@ func create(cmd *cobra.Command, args []string) (err error) {
|
|||
deployer.Verbose = config.Verbose
|
||||
|
||||
// Progress bar
|
||||
listener := progress.New()
|
||||
listener := progress.New(progress.WithVerbose(config.Verbose))
|
||||
|
||||
// Instantiate a client, specifying concrete implementations for
|
||||
// Initializer and Deployer, as well as setting the optional verbosity param.
|
||||
|
|
|
@ -188,4 +188,5 @@ func (b *Bar) overwrite(prefix string) {
|
|||
clear = "\033[K"
|
||||
)
|
||||
fmt.Fprintf(b.out, "\r%v%v%v%v/%v %v\n", up, clear, prefix, b.i, b.n, b.t)
|
||||
// fmt.Fprintf(b.out, "\r%v%v/%v %v\033[K", prefix, b.i, b.n, b.t)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue