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

13 Commits

Author SHA1 Message Date
JUN JIE NAN
d2741f464e incusd: 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:17:39 -04:00
Benjamin Somers
f9d3a55f65 incusd/node/config: Add node-level LINSTOR config options
Signed-off-by: Benjamin Somers <benjamin.somers@imt-atlantique.fr>
2025-03-26 14:14:25 -04:00
Stéphane Graber
6ecad2dc8b incusd/node/config: Add network.ovs.connection
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2024-08-27 00:05:59 -04: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
Julian Pelizäus
47f41812c9 [lxd-import] lxd/node: Add missing description default values
Signed-off-by: Julian Pelizäus <julian.pelizaeus@canonical.com>
2023-12-06 16:27:47 -05:00
Thomas Hipp
821cbf847e [lxd-import] config: Add core.syslog_socket
Signed-off-by: Thomas Hipp <thomas.hipp@canonical.com>
2023-10-04 02:48:44 -04:00
Stéphane Graber
9631e14d38 global: Add missing group to gendoc headers
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2023-10-04 02:47:59 -04:00
Ruth Fuchss
3a2f5de289 [lxd-import] doc/server: review config option documentation
Signed-off-by: Ruth Fuchss <ruth.fuchss@canonical.com>
2023-10-02 22:59:22 -04:00
Gabriel Mougard
476e3cb6ea [lxd-import] server: Document the miscellaneous server options
Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
2023-10-02 22:59:16 -04:00
Gabriel Mougard
c35f76e0cd [lxd-import] server: Document the cluster server options
Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
2023-10-02 22:59:13 -04:00
Gabriel Mougard
6788c7806a [lxd-import] server: Document the core server options
Signed-off-by: Gabriel Mougard <gabriel.mougard@canonical.com>
2023-10-02 22:59:11 -04:00
Stéphane Graber
21af525a0b internal: Update for internal/server
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2023-09-29 23:44:32 -04:00
Stéphane Graber
d33cb2388a internal/server: Move all packages from incusd
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2023-09-29 23:44:30 -04:00