Description
When calling Root.Get() in the Go client library, the resulting RootResource is blank. This occurs because the RootService is incorrectly calling an endpoint like http://localhost/api/Spaces-1 when it should be calling http://localhost/api.
Steps To Reproduce
Provide a detailed list of steps that reproduce the issue.
- Use the Go client library
- Call the
Root.Get() function
- Observe that the returned RootResource is empty/blank
Expected Behavior
The Root.Get() function should return a properly populated RootResource object with all the expected data from the root API endpoint.
Environment and/or Versions
- Octopus Server Version: Latest
- Go Version (
$ go version): Not specified
Additional Context
Internal ticket sc-103873