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:
@@ -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"`
|
||||
}
|
||||
|
||||
|
||||
@@ -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"`
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user