Update comment.

pull/2190/head
Anubhav Mishra 8 years ago committed by GitHub
parent 6aeadb272d
commit 68d400cd38

@ -35,7 +35,6 @@ var sep = regexp.MustCompile("(?:^|\\s*\n)---\\s*")
// SplitManifests takes a string of manifest and returns a map contains individual manifests // SplitManifests takes a string of manifest and returns a map contains individual manifests
func SplitManifests(bigfile string) map[string]string { func SplitManifests(bigfile string) map[string]string {
// This is not the best way of doing things, but it's how k8s itself does it.
// Basically, we're quickly splitting a stream of YAML documents into an // Basically, we're quickly splitting a stream of YAML documents into an
// array of YAML docs. In the current implementation, the file name is just // array of YAML docs. In the current implementation, the file name is just
// a place holder, and doesn't have any further meaning. // a place holder, and doesn't have any further meaning.

Loading…
Cancel
Save