Skip to content

Conversation

@vikomall
Copy link

Adding log_delivery parameter to CDN create_service.
Issue #576

Copy link
Contributor

Choose a reason for hiding this comment

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

Since this has to be True/False, this should be log_delivery=False

Copy link
Author

Choose a reason for hiding this comment

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

Thanks @briancurtin for reviewing. Currently allowed value is {"enabled": "true/false"}, but in future if it supports some other key/values in this dictionary, for example {"enabled": "true", "log_path": "cloud-files-container-path"}, then we have to revisit this change.
So I am thinking current change is OK. Let me know what you think!

Copy link
Contributor

Choose a reason for hiding this comment

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

If that happened, we'd just add a log_path=None argument and construct the appropriate body to go along with it.

Copy link
Author

Choose a reason for hiding this comment

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

If we keep the current implementation, we need not touch it again.

Copy link
Contributor

Choose a reason for hiding this comment

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

If we keep the current implementation, we will forever offer a sub-par experience.

@vikomall
Copy link
Author

vikomall commented Oct 7, 2015

@briancurtin updated patch as suggested.

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