Skip to content

Commit

Permalink
Merge pull request kubernetes#18985 from mlafeldt/patch-1
Browse files Browse the repository at this point in the history
Auto commit by PR queue bot
  • Loading branch information
k8s-merge-robot committed Dec 22, 2015
2 parents 9168a5c + 1701cd4 commit 0588963
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/util/yaml/decoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import (

// ToJSON converts a single YAML document into a JSON document
// or returns an error. If the document appears to be JSON the
// YAML decoding path is not used (so that error messages are)
// JSON specific.
// YAML decoding path is not used (so that error messages are
// JSON specific).
func ToJSON(data []byte) ([]byte, error) {
if hasJSONPrefix(data) {
return data, nil
Expand Down

0 comments on commit 0588963

Please sign in to comment.