switch instead of if/else repeatedly
switch instead of if/else repeatedly

Signed-off-by: Jacob Frank <e2b78b2ae98d5304f4676b7cd3c5892a0e3e7c9f@pivotal.io>

concourse/concourse,concourse/concourse,concourse/concourse,concourse/concourse,concourse/concourse