What is a common use case?
I'm trying to figure out why the conditions in the switches are OR:ed rather than AND:ed. How would I go about if I wanted:
- 10% of IP addresses AND
- on a server with hostname example.de
Sorry for such a stupid question. Thank you
It’s more of an ANY vs an OR.
i.e.
10% of users 10% of ips
An AND here would be an ALL.
On Tuesday, June 10, 2014 at 11:25 PM, AndersenTobias wrote:
I'm trying to figure out why the conditions in the switches are OR:ed rather than AND:ed. How would I go about if I wanted:
- 10% of IP addresses
- on server with hostname example.de (http://example.de) Sorry for such a stupid question.
Thank you— Reply to this email directly or view it on GitHub (https://github.com/disqus/gargoyle/issues/81).
I was thinking of logical AND.
if cond1 and cond2
In that case you might want to say:
- User is hitting canary server AND
- User is in 10% of all users
On Tuesday, June 10, 2014 at 11:32 PM, AndersenTobias wrote:
I was thinking of logical AND. if cond1 and cond2
— Reply to this email directly or view it on GitHub (https://github.com/disqus/gargoyle/issues/81#issuecomment-45706646).
But the switches works like if ANY of the conditions are True then the switch is active? Am I missing something?
Ah I'm mistaken. I thought we had implemented ANY vs ALL but it seems not
Cool, that explains a lot. Do you know if it is on the road map?
Likely not, but it's open source :)
:-)