Correct url.

This commit is contained in:
Kalle Carlbark 2019-12-16 23:04:42 +01:00
parent bf376105e7
commit da12cffbd9
No known key found for this signature in database
GPG key ID: 3FC0C93C5A5A0670

View file

@ -121,7 +121,7 @@ func (n *NetBox) ListClusters(i *VirtualizationClustersList, f *ClusterFilter) e
Timeout: timeout,
Transport: transport,
}
request, err := http.NewRequest("GET", n.RootURL+"/api/ipam/vrfs/?"+query, nil)
request, err := http.NewRequest("GET", n.RootURL+"/api/virtualization/clusters/?"+query, nil)
if err != nil {
return err
}