Fix "no kind registered for version" when executing hooks

pull/3736/head
Sean Clemmer 8 years ago
parent 48e7039970
commit d79b79b6f3

@ -346,7 +346,7 @@ func (c *Client) watchTimeout(t time.Duration) ResourceActorFunc {
//
// Handling for other kinds will be added as necessary.
func (c *Client) WatchUntilReady(namespace string, reader io.Reader, timeout int64, shouldWait bool) error {
infos, err := c.Build(namespace, reader)
infos, err := c.BuildUnstructured(namespace, reader)
if err != nil {
return err
}

Loading…
Cancel
Save