/srv/irclogs.ubuntu.com/2020/01/29/#juju.txt

wallyworldkelvinliu: you can adapt this https://pastebin.ubuntu.com/p/yyxJnT54nj/01:25
kelvinliuwallyworld: ok, thanks01:26
wallyworldloop until call count is reached01:26
wallyworldyou can call c.Fail() if needed etc01:26
kelvinliuyep01:47
babbageclunkugh, has anyone had a situation where goimports keeps adding an import for logger even though there's a logger defined in a different file in the package?02:19
wallyworldsometimes, pita02:20
babbageclunkit's bloody weird!02:20
hpidcockbabbageclunk: why don't you just forget goimports exists? you were in ignorant bliss for so long02:22
babbageclunkI would but it's great except when it doesn't work right.02:23
hpidcockbabbageclunk: are you using gopls yet?02:24
babbageclunkhpidcock: stockholm syndrome basically02:24
babbageclunkhpidcock: nope not yet02:24
babbageclunkhpidcock: is it good? Or is it... bad?02:25
hpidcockbabbageclunk: a bit of both02:25
babbageclunklike everything then02:25
hpidcockbabbageclunk: mostly good02:25
babbageclunkhmm, might try it sometime02:31
wallyworldkelvinliu: is the vsphere PR good to land?06:01
kelvinliuwallyworld: nah, Im refactoring one of the failed suite to use gomock06:18
wallyworldno worries06:21
wallyworldkelvinliu: did they fix your phone?06:21
kelvinliuyes, they gave me a new phone and it's free. : )06:21
wallyworldwow, and so they should have06:22
wallyworldthey broke it06:22
kelvinliuyeah, i think they know the guy didn't fix the screen last time.06:23
kelvinliucorrectly06:23
wallyworldi bet he's in trouble06:24
kelvinliuim fixing mfa06:24
kelvinliuhope he won't be in trouble too much06:27
wallyworldwho knows with Apple06:27
nammn_demanadart achilleasa stickupkid: let's say I add an DocID string `bson: _id`  field.  How can I say that I only want to set the constraints for everything of that struct except that DocID? Such that I don't come into the immutable `_id` error? Or do I have to set that for each field separately ([]bson.DocElem..) ?09:42
stickupkidnammn_de, for selection or inserting?09:43
nammn_destickupkid: oh sry, forgott the e.g. link https://github.com/nammn/juju/blob/bfa6bd8e2d2b664381c1e833a9fd2f5b7bf94953/state/constraints.go#L9209:44
stickupkidnammn_de, if it's inserting, then make a new type without a doc id ?09:44
nammn_destickupkid: okay, that was my other thought.09:44
nammn_destickupkid: thought maybe there is something easier :/09:44
stickupkidit's juju, nothing is easy :wink:09:44
nammn_destickupkid: haha okay, thanks!09:46
stickupkidmanadart, updated to include forcing, I think it's a good shout09:48
manadartstickupkid: Yep.09:52
stickupkidmanadart, https://github.com/juju/juju/pull/11155 <- I got this working - you think we should move of from draft?10:09
manadartstickupkid: Yep.10:10
nammn_demanadart: rename-space now is review ready.  QA steps works well for me https://github.com/juju/juju/pull/1114311:21
manadartnammn_de: OK.11:22
achilleasaCan I get a CR on https://github.com/juju/juju/pull/11158?11:27
stickupkidachilleasa, looking now11:28
achilleasastickupkid: Do I need to add empty stubs for older API versions?11:40
stickupkidoffically yes11:40
stickupkidbut actually it's ok, but yeah you should11:40
achilleasastickupkid: ok, I will add them together with the missing comments11:41
achilleasastickupkid: pushed a commit. Is that ok or did I forget something?11:47
stickupkidachilleasa, looks good11:52
manadartUpgrade step for the systemd unit file relocation: https://github.com/juju/juju/pull/11159.12:08
nammn_demanadart: I still need to fix the unit tests and do some cleaning. Just wanted to know beforehand whether you meant the modeloperation like this: https://github.com/juju/juju/pull/1114316:54
stickupkidachilleasa, congrats on the book :)16:58
achilleasastickupkid: thanks :-)16:58
nammn_deachilleasa: yeah congrats!17:05
rick_hmanadart:  doh sorry, never hit submit on assigning you that bug. just hit submit now17:11
=== Bandu is now known as sevillafc

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!