Pin gopkg.in/yaml.v2

Update and pin the version of gopkg.in/yaml.v2 that we vendor.

Signed-off-by: Nalin Dahyabhai <nalin@redhat.com>

Closes: #79
Approved by: nalind
This commit is contained in:
Nalin Dahyabhai
2017-04-19 08:56:37 -04:00
committed by Atomic Bot
parent 21c71b634b
commit abf01462b0
4 changed files with 1 additions and 4 deletions

View File

@@ -42,7 +42,7 @@ golang.org/x/net master
golang.org/x/sys master
golang.org/x/text master
gopkg.in/cheggaaa/pb.v1 master
gopkg.in/yaml.v2 master
gopkg.in/yaml.v2 cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b
k8s.io/apimachinery master https://github.com/kubernetes/apimachinery
k8s.io/client-go master https://github.com/kubernetes/client-go
k8s.io/kubernetes master https://github.com/kubernetes/kubernetes

1
vendor/gopkg.in/yaml.v2/decode.go generated vendored
View File

@@ -120,7 +120,6 @@ func (p *parser) parse() *node {
default:
panic("attempted to parse unknown event: " + strconv.Itoa(int(p.event.typ)))
}
panic("unreachable")
}
func (p *parser) node(kind int) *node {

View File

@@ -666,7 +666,6 @@ func yaml_emitter_emit_node(emitter *yaml_emitter_t, event *yaml_event_t,
return yaml_emitter_set_emitter_error(emitter,
"expected SCALAR, SEQUENCE-START, MAPPING-START, or ALIAS")
}
return false
}
// Expect ALIAS.

1
vendor/gopkg.in/yaml.v2/parserc.go generated vendored
View File

@@ -166,7 +166,6 @@ func yaml_parser_state_machine(parser *yaml_parser_t, event *yaml_event_t) bool
default:
panic("invalid parser state")
}
return false
}
// Parse the production: