Skip to content

Commit

Permalink
use correct request path
Browse files Browse the repository at this point in the history
  • Loading branch information
lubedacht committed Jan 15, 2024
1 parent 1abb85d commit a9a3ee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/service/cloud/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ func (s *Service) checkForPendingLANRequest(method string, lanID string) (status
))
}

lanPath := path.Join("datacenters", s.dataCenterID(), "lan")
lanPath := path.Join("datacenters", s.dataCenterID(), "lans")
requests, err := s.api().GetRequests(s.ctx, method, lanPath)
if err != nil {
return "", fmt.Errorf("could not get requests: %w", err)
Expand Down

0 comments on commit a9a3ee1

Please sign in to comment.