Skip to content

Conversation

sgotti
Copy link
Member

@sgotti sgotti commented Dec 2, 2019

  • show only changed options and omit all the empty/null options
  • when using --defaults show ALL the options

Do this by using two copies of the clusterspec struct, one with all json tags
with omitempty and one without omitempty that will be casted from the original
cluster spec (so we will get an error when we forgot to updated them when
changing the ClusterSpec struct)

* show only changed options and omit all the empty/null options
* when using --defaults show ALL the options

Do this by using two copies of the clusterspec struct, one with all json tags
with omitempty and one without omitempty that will be casted from the original
cluster spec (so we will get an error when we forgot to updated them when
changing the ClusterSpec struct)
@sgotti sgotti force-pushed the stolonctl_spec_improve_output branch from 842f250 to 1796b33 Compare December 2, 2019 09:24
@sgotti sgotti merged commit a13d1d9 into sorintlab:master Dec 2, 2019
@sgotti sgotti added this to the v0.15.0 milestone Dec 3, 2019
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.

1 participant