Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

Generate ctor body for mixinInstance function #139

Merged
merged 1 commit into from
May 24, 2018

Conversation

glindstedt
Copy link
Contributor

A constructor with a reference to a mixinInstance function would previously silently fail to generate the code in the constructor body.

The only affected constructor is volume.fromEmptyDir:

<           fromEmptyDir(name="", emptyDir={}):: self.withName(name),
---
>           fromEmptyDir(name="", emptyDir={}):: self.withName(name) + self.mixin.emptyDir.mixinInstance(emptyDir),

A constructor with a reference to a mixinInstance function would
previously silently fail to generate the code in the constructor body.

Signed-off-by: Gustaf Lindstedt <[email protected]>
@bryanl bryanl merged commit 11b696b into ksonnet:master May 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants