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

shared/api: Remove node references

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
This commit is contained in:
Stéphane Graber
2023-09-14 15:49:04 -04:00
parent a5e9041923
commit b76051b67b
3 changed files with 4 additions and 4 deletions

View File

@@ -31,7 +31,7 @@ type Cluster struct {
// the cluster is required to provide when joining.
//
// The Value field is empty when getting clustering information with GET
// /1.0/cluster, and should be filled by the joining node when performing a PUT
// /1.0/cluster, and should be filled by the joining server when performing a PUT
// /1.0/cluster join request.
//
// swagger:model
@@ -301,7 +301,7 @@ type ClusterGroupPut struct {
Description string `json:"description" yaml:"description"`
// List of members in this group
// Example: ["node1", "node3"]
// Example: ["server01", "server02"]
Members []string `json:"members" yaml:"members"`
}

View File

@@ -6,7 +6,7 @@ package api
//
// API extension: preseed.
type InitPreseed struct {
Node InitLocalPreseed `yaml:",inline"`
Server InitLocalPreseed `yaml:",inline"`
Cluster *InitClusterPreseed `json:"cluster" yaml:"cluster"`
}

View File

@@ -17,7 +17,7 @@ type Warning struct {
UUID string `json:"uuid" yaml:"uuid"`
// What cluster member this warning occurred on
// Example: node1
// Example: server01
Location string `json:"location" yaml:"location"`
// The project the warning occurred in