Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure base path when constructing client #21

Merged

Conversation

oliemansm
Copy link
Contributor

Configure the base path to use when constructing the powerdns client. This allows a user to specify its own base path in case the PowerDNS server API is running on a different base path than the default /api/v1.

pdnshttp/client.go Outdated Show resolved Hide resolved
pdnshttp/client_test.go Show resolved Hide resolved
pdnshttp/client.go Outdated Show resolved Hide resolved
Co-authored-by: Martin Helmich <[email protected]>
@oliemansm
Copy link
Contributor Author

Anything else you'd like me to address?

martin-helmich
martin-helmich previously approved these changes Jul 3, 2024
Copy link
Member

@martin-helmich martin-helmich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM now 👍 -- thanks for your contribution.

pdnshttp/client.go Outdated Show resolved Hide resolved
Co-authored-by: Martin Helmich <[email protected]>
@martin-helmich
Copy link
Member

Getting there -- now without syntax errors... 😅

@martin-helmich martin-helmich merged commit 0b5137f into mittwald:master Jul 3, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants