Skip to content

Commit

Permalink
Merge pull request #16 from GDATASoftwareAG/node_addresses
Browse files Browse the repository at this point in the history
Fix: Add node addresses
  • Loading branch information
Mattes83 authored Jan 24, 2024
2 parents 8b37637 + 96f717f commit 273ebf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/client/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func (a *IONOSClient) GetServerByName(ctx context.Context, name string) (*cloudp
return nil, errors.New("client is initialized")
}
serverReq := a.client.ServersApi.DatacentersServersGet(ctx, a.DatacenterId)
servers, req, err := serverReq.Depth(2).Execute()
servers, req, err := serverReq.Depth(3).Execute()
if err != nil || servers.Items == nil || req != nil && req.StatusCode == 404 {
if err != nil {
return nil, nil
Expand Down

0 comments on commit 273ebf1

Please sign in to comment.