benkonrath / transip-api

Python implementation for the TransIP API
https://transip-api.readthedocs.io/en/latest/
MIT License
23 stars 23 forks source link

Fix --api-key CLI argument #55

Closed nielsderdaele closed 4 years ago

nielsderdaele commented 4 years ago

Adding the option to specify the private key directly in Client broke the --api-key CLI argument. The value of --api-key was passed to the argument private_key instead of private_key_file.

Fixed by passing the value of --api-key as a keyword argument to DomainService.

benkonrath commented 4 years ago

Thanks for the fix!

benkonrath commented 4 years ago

I just released 2.1.2 which has this fix. Thanks again!