Skip to content

Commit

Permalink
fix(contrib/plugin/marathon): log format (#3449)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsamin authored and yesnault committed Oct 11, 2018
1 parent 9b93888 commit 4b4d1af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions contrib/grpcplugins/action/marathon/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -357,9 +357,9 @@ func parseApplicationConfigFile(f string) (*marathon.Application, error) {
if !result.Valid() {
fmt.Printf("The document is not valid. see following errors\n")
for _, desc := range result.Errors() {
fmt.Printf(" - %s", desc.Details())
fmt.Println(desc.Details())
}
return nil, fmt.Errorf("IMarathonPlugin invalid json document")
return nil, fmt.Errorf("invalid json document")
}

return appConfig, nil
Expand Down

0 comments on commit 4b4d1af

Please sign in to comment.