feat: update SDK for Garage ≥ 1.0.0 #2

Open
raitobezarius wants to merge 2 commits from raitobezarius/garage-admin-sdk-golang:main into main
2 changed files with 2 additions and 4 deletions

View file

@ -1269,7 +1269,6 @@ components:
hostname: neptune
garageFeatures:
- k2v
- sled
- lmdb
- sqlite
- consul-discovery
@ -1288,7 +1287,6 @@ components:
garageFeatures:
example:
- k2v
- sled
- lmdb
- sqlite
- consul-discovery

View file

@ -124,7 +124,7 @@ func (o *GetHealth200Response) SetConnectedNodes(v int64) {
}
// GetStorageNodes returns the StorageNodes field value
func (o *GetHealth200Response) GetStorageNodesAll() int64 {
func (o *GetHealth200Response) GetStorageNodes() int64 {
if o == nil {
var ret int64
return ret
@ -135,7 +135,7 @@ func (o *GetHealth200Response) GetStorageNodesAll() int64 {
// GetStorageNodesOk returns a tuple with the StorageNodes field value
// and a boolean to check if the value has been set.
func (o *GetHealth200Response) GetStorageNodesAllOk() (*int64, bool) {
func (o *GetHealth200Response) GetStorageNodesOk() (*int64, bool) {
if o == nil {
return nil, false
}