mirror of https://github.com/knative/func.git
remove debug and cleanup
This commit is contained in:
parent
0db3d97efe
commit
a0e9fcb11c
|
@ -2,7 +2,6 @@ package cmd
|
|||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"regexp"
|
||||
|
||||
"github.com/ory/viper"
|
||||
|
@ -111,16 +110,12 @@ func create(cmd *cobra.Command, args []string) (err error) {
|
|||
// If we are running as an interactive terminal, allow the user
|
||||
// to mutate default config prior to execution.
|
||||
if isInteractive() {
|
||||
fmt.Printf("Initial Config: \n%#v\n", config)
|
||||
config, err = gatherFromUser(config)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
fmt.Printf("Final Config: \n%#v", config)
|
||||
}
|
||||
|
||||
return
|
||||
|
||||
// Initializer creates a deployable noop function implementation in the
|
||||
// configured path.
|
||||
initializer := appsody.NewInitializer()
|
||||
|
|
1
go.mod
1
go.mod
|
@ -6,7 +6,6 @@ require (
|
|||
contrib.go.opencensus.io/exporter/ocagent v0.6.0 // indirect
|
||||
contrib.go.opencensus.io/exporter/prometheus v0.1.0 // indirect
|
||||
contrib.go.opencensus.io/exporter/stackdriver v0.13.1 // indirect
|
||||
github.com/docker/docker-credential-helpers v0.6.3
|
||||
github.com/google/go-containerregistry v0.0.0-20200423114255-8f808463544c // indirect
|
||||
github.com/openzipkin/zipkin-go v0.2.2 // indirect
|
||||
github.com/ory/viper v1.7.4
|
||||
|
|
Loading…
Reference in New Issue