-
Notifications
You must be signed in to change notification settings - Fork 36
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
feat: add methods to put and update with files #105
Conversation
1 similar comment
NOTE: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for proposing this change.
Can we get some tests and steps to verify correctness added?
01fd839
to
7370d43
Compare
Hi @manadart. I just added a new test to cover the function. Please take a look 🙂 |
7370d43
to
f769a83
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should avoid modify the existing client method instead of adding a new one.
@manadart Updated as per review. Please re-review 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for seeing this through.
Hello @manadart . It's nice that this PR got merged. But in order to consume it properly it needs to be added to a new release. e.g., |
This PR enables updating MAAS resources with files included.
Acts as an enabler for:
PUT /MAAS/api/2.0/scripts/{name}: Update a script
Source: https://maas.io/docs/api