Skip to content

model: remove YAMLManifest#1052

Merged
nicks merged 1 commit into
masterfrom
nicks/delete
Jan 22, 2019
Merged

model: remove YAMLManifest#1052
nicks merged 1 commit into
masterfrom
nicks/delete

Conversation

@nicks

@nicks nicks commented Jan 18, 2019

Copy link
Copy Markdown
Contributor

Hello @jazzdan,

Please review the following commits I made in branch nicks/delete:

1bc13b1 (2019-01-18 18:27:23 -0500)
model: remove YAMLManifest

@nicks
nicks requested a review from jazzdan January 18, 2019 23:27

@jazzdan jazzdan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woohoo! LGTM


func (e EngineState) IsEmpty() bool {
return len(e.ManifestTargets) == 0 && e.GlobalYAML.Empty()
return len(e.ManifestTargets) == 0 && e.GlobalYAML.Name == ""

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This feels like a weird isEmpty check, but I'm OK with it.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i agree! tho i think this will eventually go away as a separate field, so hopefully it will stop feeling weird soon!

@nicks
nicks merged commit 5bbfd6e into master Jan 22, 2019
@nicks
nicks deleted the nicks/delete branch January 22, 2019 23:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants