Mark Laing

Results 136 comments of Mark Laing

Just all projects for a single storage pool.

The `remote` and `remote-fs` pools will be handled entirely by the region so we just need to call `GET `/1.0/storage-pools/local/volumes?all-projects=true`. https://github.com/canonical/lxd-cloud/issues/136#issuecomment-1177743822

> In my view this particular API route is in dire need of clean up to make its DB query pattern more efficient (in order to be able to list...

After some investigation we've found that this is essentially being caused by a race condition in which rules for consistent network device names are being applied *after* we have started...

@tomponline I'm not certain what the easiest way to change the check would be. Here is the line we use to get all the files we want to perform the...

> @markylaing we can modify the existing command to skip `.pb.go` files > `files=$(git ls-files --cached --modified --others "*.go" ":!:*.pb.go")` @snprajwal Go for it :+1: thanks!

I have a feeling that we could make the generated code more flexible without needing such a large change or complicating the generator any further. If any of the handwritten...

> As this is by definition a custom scenario, we don't know how frequently its going to be called, and I wouldn't want us to end up registering every possible...

> I don't think we need to prepare statements for single usage but all the statements I've been writing are for use either in API calls or in response to...

Ahh ok I get your meaning now, thanks.