Skip to content

Commit

Permalink
Print back ingress in YAML format (#409)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamalsaha committed Aug 23, 2017
1 parent 1bccec9 commit 52f0a67
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkg/cmds/check.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,12 @@ func NewCmdCheck() *cobra.Command {
return err
}
fmt.Println("No validation error was found.")

bi, err := yaml.Marshal(ing)
if err != nil {
return err
}
fmt.Println(string(bi))
return nil
}

Expand Down

0 comments on commit 52f0a67

Please sign in to comment.