Can't we just change the struct to have a pointer to an int in that field.
And then it will be 'nil' if it wasn't supplied, to distinguish it from
being supplied as a valid 0?
On Mon, Apr 16, 2018 at 3:01 AM, Ian Booth <email address hidden> wrote:
> ** Changed in: juju
> Assignee: Vinodhini (vinu-b) => (unassigned)
>
> ** Changed in: juju
> Milestone: 2.4-beta1 => None
>
> ** Tags removed: bitesize
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https://bugs.launchpad.net/bugs/1595330
>
> Title:
> When deploying a bundle, num_units defaults to zero if not specified
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/juju/+bug/1595330/+subscriptions
>
Can't we just change the struct to have a pointer to an int in that field.
And then it will be 'nil' if it wasn't supplied, to distinguish it from
being supplied as a valid 0?
On Mon, Apr 16, 2018 at 3:01 AM, Ian Booth <email address hidden> wrote:
> ** Changed in: juju /bugs.launchpad .net/bugs/ 1595330 /bugs.launchpad .net/juju/ +bug/1595330/ +subscriptions
> Assignee: Vinodhini (vinu-b) => (unassigned)
>
> ** Changed in: juju
> Milestone: 2.4-beta1 => None
>
> ** Tags removed: bitesize
>
> --
> You received this bug notification because you are subscribed to juju.
> Matching subscriptions: juju bugs
> https:/
>
> Title:
> When deploying a bundle, num_units defaults to zero if not specified
>
> To manage notifications about this bug go to:
> https:/
>