Skip to content
This repository was archived by the owner on Feb 5, 2024. It is now read-only.

Conversation

@tfheen
Copy link
Contributor

@tfheen tfheen commented Jun 2, 2016

A small selection of bugfixes. I don't believe anything in here is controversial in any way.

@copyconstruct
Copy link
Contributor

@tfheen Would it be possible to rebase off the latest master? Would be happy to merge then.

@tfheen
Copy link
Contributor Author

tfheen commented Apr 7, 2017

Sure, that should be possible. We have a bunch of other fixes in the pipe too, I'll get you PRs for those too.

@copyconstruct
Copy link
Contributor

copyconstruct commented Apr 7, 2017 via email

@tfheen
Copy link
Contributor Author

tfheen commented Aug 6, 2017

@copyconstruct: sorry it took a while to get around to this. Let me know if you would rather have this split out into a bunch of PRs, I can do that if you prefer.

Fastly's API doesn't properly differentiate between
healthcheck-as-a-string and as healthcheck-as-an-object, which means
you will get healthcheck == '' back when it says "(none)" in the UI.
@property
def healthcheck(self):
return self._conn.get_healthcheck(self.service_id, self.version, self.healthcheck)
if self.__getattr__('healthcheck') is None or self.__getattr__('healthcheck') == '':
Copy link
Contributor

Choose a reason for hiding this comment

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

This could be simplified to if not self.__getattr__('healthcheck'):

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Indeed, fixed. A bit damaged by writing ruby. :-)

Copy link
Contributor

Choose a reason for hiding this comment

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

Could it be possible you didn't push up the change? Because it still shows the old diff to me.

Copy link
Contributor Author

@tfheen tfheen Sep 5, 2017

Choose a reason for hiding this comment

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

Yes, you're right, it seems like I only added it to my master branch, not the bugfixes branch.
(Fixed now.)

Copy link
Contributor

Choose a reason for hiding this comment

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

Cool, thanks! have merged.

@tfheen
Copy link
Contributor Author

tfheen commented Sep 4, 2017

@copyconstruct, any chance for a new review here (or possibly a merge)? Happy to make changes if you want those, but it'd be great to see movement on the project too.

@copyconstruct copyconstruct merged commit 47b77ce into zebrafishlabs:master Sep 5, 2017
@tfheen
Copy link
Contributor Author

tfheen commented Sep 5, 2017

Thanks for merging, much appreciated!

@tfheen tfheen deleted the bugfixes branch July 9, 2023 20:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants