Skip to content

Commit

Permalink
Added more comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cdrage committed Jul 16, 2019
1 parent 2320a8f commit 18fe8ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/odo/genericclioptions/runnable.go
Expand Up @@ -16,10 +16,10 @@ type Runnable interface {

func GenericRun(o Runnable, cmd *cobra.Command, args []string) {

// Before running anything, we will make sure that
// Before running anything, we will make sure that no verbose output is made
// This is a HACK to manually override `-v 4` to `-v 0` (in which we have no glog.V(0) in our code...
// in order to have NO verbose output when combining both `-o json` and `-v 4` so json output
// is not malformed / mixed with normal logging
// is not malformed / mixed in with normal logging
if log.IsJSON() {
flag.Set("v", "0")
}
Expand Down

0 comments on commit 18fe8ef

Please sign in to comment.