Skip to content

Conversation

ndeloof
Copy link
Collaborator

@ndeloof ndeloof commented Nov 3, 2023

as default is not 0, omitempty doesn't apply and this require code to manage this default value.
using an *int we can distinguish unset value (scale=1) vs service explicitly set to scale=0 (many users rely on this to disable service)

@ndeloof ndeloof marked this pull request as ready for review November 3, 2023 11:38
@ndeloof ndeloof requested review from milas, glours and laurazard November 3, 2023 11:38
@ndeloof ndeloof force-pushed the scale_default branch 5 times, most recently from 1352ed4 to 4007b07 Compare November 8, 2023 08:56
Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@ndeloof ndeloof merged commit 7210cee into compose-spec:main Nov 21, 2023
@ndeloof ndeloof deleted the scale_default branch November 21, 2023 07:27
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