[02:34] a review plz https://github.com/juju/juju/pull/10450 [02:44] anastasiamac: looking now [02:44] kelvinliu_: thnx \o/ [02:44] np ^ ^ [02:49] another trivial - honestly :D - https://github.com/juju/juju/pull/10451 [02:58] babbageclunk: tyvm! [03:03] :) [04:58] kelvinlie_: I think it makes sense the juju run-action for k8s only supports running on the workload? or do we also want it to support running in the operator pod? [04:59] `juju run` makes sense to allow both, but I'm not entirely certain running an action in the operator makes sense. [05:00] hpidcock: any chance u could have a look at https://github.com/juju/juju/pull/10452 -mit's mostly wording PR [05:01] sure thing [05:07] anastasiamac: looks great [05:07] \o/ [05:09] correct australianism would be sick bickies [05:11] or just 'sick' (depending on ur generation) ;D [05:14] I feel sick bickies resonates with me more :P [05:43] kelvinliu_: m looking at https://bugs.launchpad.net/juju/+bug/1830949... can u confirm? for add-k8s command, region option what is the valid value? [05:43] Bug #1830949: [k8s] add-k8s command accepts incorrect cloud type [05:43] kelvinliu_: any remote cloud that a user has? any local cloud a user has? [05:43] kelvinliu_: only regions that are avaialable for this cloud? [05:44] kelvinliu_: a comment on the bug would be awesome! [05:44] :S) [05:44] yes, looking [05:56] added a comment, anastasiamac i think we could have a small enhancement from the cmd side. [05:59] kelvinliu_: thnx [05:59] np [06:00] kelvinliu_: right, so really we should only accept a region for this option not / [06:00] kelvinliu_: and the region needs to be valid for the current cloud.. [06:00] right? [06:01] kelvinliu_: so is it a bootstrap cloud that is used here? [06:02] we do support --cloud= --region= [06:02] these two options will be splitted to cloud + region then combined together [06:02] kelvinliu_: isn't it confusing that both cloud and region accept the same value? [06:03] shouldnt one accept cloud, the other region? [06:03] we only accept / in places where we do not have both oprtions separately [06:03] because juju --cloud is / [06:04] to make it flexible and consistent with other cmd, so we made this decision [06:05] i think the add-k8s cmd is smart enough to handle any edge case of the two options' combination. if not, then it's a bug [06:05] kelvinliu_: well, it's obviously a bug already :) [06:06] i think it's more like message enhancement [06:06] kelvinliu_: but also it's just confusing... if i as user will supply -cloud a/1 and region b/1 how is the decision made? [06:06] they will get an error, i think [06:06] kelvinliu_: the fact that right now, -region accepts xxxx/us-east-1 is not a message enhancement but clud name validation [06:07] too flacingble U with a lot of guess work around 'what does user actually mean' feels messy [06:08] too flexible UX* [06:09] the problem here is we don't always require both cloud and region. [06:10] we might just require one of them [06:10] sometimes, we do need both of them [06:10] kelvinliu_: that's why in most places we accept one [[cloud][/region]] [06:11] so current process is Juju will try to figure out as many as i can, if missing any of them, ask user to provide [06:11] * provide the one was missing [06:15] yes, again this feels wrong and clumsy as UX [06:15] it should have one argument, usually we call it '-cloud' [06:16] and it will accepts either or / or / [06:16] and we have infrstructure to process that [06:17] as well as it provides consistent UX and experience for user throughput Juju [06:17] throughout* [06:25] yeah, it's good to have a discuss with Ian end of this week, this wasn't the idea introduced by me. I might not understand the full story behind this design. [14:57] CR anybody? https://github.com/juju/testing/pull/146 [15:06] manadart: have you seen these goland tricks? https://medium.com/@keperry/5-tips-to-speed-up-golang-development-with-intellij-or-goland-6646110e9c5e [15:08] hml: Knew extract and implement. Not forr or err; that's nice. [15:08] manadart: those last two look very useful. type them over and over [15:11] manadart: looks like you can create your own live templates too. [21:44] I've written up some advice for working with the vSphere provider code https://discourse.jujucharms.com/t/some-notes-for-working-with-the-vmware-vsphere-provider-code/1867