1
0
mirror of https://github.com/lxc/incus.git synced 2026-02-05 09:46:19 +01:00

15 Commits

Author SHA1 Message Date
JUN JIE NAN
57c3143121 incus-benchmark: Simplify code by using modern constructs
Using more modern features of Go, such as:
- conditional assignment -> built-in min or max in go1.21,
- sort.Slice -> slices.Sort in go1.21,
- loop assign map -> maps.Copy in go1.21,
- []byte(fmt.Sprintf...) -> fmt.Appendf(nil,...) in go1.19,
- strings.HasPrefix / strings.TrimPrefix -> strings.CutPrefix in go1.20

Signed-off-by: JUN JIE NAN <nanjunjie@gmail.com>
2025-05-17 12:25:01 -04:00
Stéphane Graber
e876c59169 incus-benchmark: Replace default distro
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-04-24 01:41:56 -04:00
Stéphane Graber
0d04d475c7 incus-benchmark: Fix gofumpt
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-03-17 18:02:18 -04:00
Stéphane Graber
6a0bcd76ec global: Initial goimports run
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2024-11-19 17:32:18 +00:00
Stéphane Graber
09dc3e60bc global: Update Go package to v6
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2024-04-05 11:11:11 -04:00
Stéphane Graber
ebe52f1c1e cmd/incus-benchmark: Use api.ProjectDefaultName
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2023-10-25 15:20:01 -04:00
Stéphane Graber
35f910a2df cmd/incus-benchmark: Eliminate use of shared package
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2023-09-28 05:03:18 -04:00
Stéphane Graber
fc5af20605 cmd/incus-benchmark: Update for shared/cliconfig
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2023-09-26 10:52:10 -04:00
Stéphane Graber
9914c34218 global: Re-order imports
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2023-09-07 15:40:56 -04:00
Stéphane Graber
4c73aa85ed global: Update for internal/version
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2023-09-07 15:40:30 -04:00
Stéphane Graber
5b23f2f96d cmd/incus-benchmark: Remove LXD mentions
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2023-08-30 00:46:12 -04:00
Stéphane Graber
9f681f31a3 cmd/incus-benchmark: Update for client change
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2023-08-14 16:13:23 -04:00
Stéphane Graber
2d416ad44c cmd: Update for lxc/incus
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2023-08-08 23:35:45 -04:00
Stéphane Graber
a8c37f8903 incus-benchmark: Update for internal/cliconfig
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2023-08-05 00:48:54 -04:00
Stéphane Graber
8b1312b205 incus-benchmark: Move to cmd/incus-benchmark
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2023-08-04 15:29:12 -04:00