fixup: fix comments and use a channel to pass err

This commit is contained in:
Wei Huang
2019-07-19 00:20:37 -07:00
parent dce6686c9a
commit 249752cc1f
2 changed files with 13 additions and 23 deletions

View File

@@ -214,7 +214,7 @@ func (p *PodWrapper) Label(k, v string) *PodWrapper {
return p
}
// NodeWrapper wraps a LabelSelector inside.
// NodeWrapper wraps a Node inside.
type NodeWrapper struct{ v1.Node }
// MakeNode creates a Node wrapper.