smarterclayton: leaderelection: Allow leader elected code to step down on a context cancel

JobBuild
fe74efb1
01-11 17:50
8ac5f2cd
12-27 18:19
ac48b435
12-27 18:13
deeedefc
12-27 17:43
a27198f6
11-28 15:55
69acd069
11-28 02:59
6e6def8b
11-28 02:58
pull-kubernetes-bazel-build 69676 69621 69615 69613 69583 68315 68313 68309 66164 66106 66105
pull-kubernetes-bazel-test 72374 72317 72310 72280 71001 70999 70995 68837 68779 68778
pull-kubernetes-e2e-gce 64887 64830 64823 64792 63485 63483 63479 61627 61174 61115 61114
pull-kubernetes-e2e-gce-100-performance 31396 31351 31345 31316 30215 30147 30145 30141 28163 28123 28122
pull-kubernetes-e2e-gce-device-plugin-gpu 56922 55976 55974 55970 54375 54332 54331
pull-kubernetes-e2e-kops-aws 119130 119123 119102 119070 119064 119061 119029 117633 117631 117627 115564 115108 115044 115043
pull-kubernetes-godeps 1030 1012 1007 996 503 502 500
pull-kubernetes-integration 41137 41101 41060 41050 41008 39465 39388 39386 39382 36887 36819 36818
pull-kubernetes-kubemark-e2e-gce-big 34209 34154 34147 34117 32802 32800 32796 30588 30528 30527
pull-kubernetes-node-e2e 116169 116114 116107 116073 114808 114806 114802 112652 112594 112593
pull-kubernetes-typecheck 36586 36531 36524 36494 35233 35231 35227 33085 33027 33026
pull-kubernetes-verify 118750 118692 118662 117306 117304 117300 115074 115015 115014