Brian_69413
Nimbostratus
Jun 14, 2012Default pool in a switch statement
We have a Virtual Server that is assigned a default pool and also an iRule that applies a different pool given a certain path. We believe this was working fine as an if statement, but was recently changed to a switch statement. We started to receive reports that traffic not matching one of the cases(I.e. hitting the default). We're still ending up at the secondary pool. A pool statement in the default case fixed this, but was wondering why this would be necessary. Also, is it different from an IF statement, or was it just a coincidence?
I assumed that these non-matching cases would look to the VIP config for pool info.