diff --git a/internal/file/bindata.go b/internal/file/bindata.go index b473bbe73..01d0b182a 100644 --- a/internal/file/bindata.go +++ b/internal/file/bindata.go @@ -100,7 +100,7 @@ func etcNginxLuaBalancerEwmaLua() (*asset, error) { return a, nil } -var _etcNginxLuaBalancerRestyLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x54\xcd\x6a\xdc\x4c\x10\xbc\xeb\x29\x1a\x9d\x24\x90\x05\xdf\xd5\xa0\xcb\x77\x08\x04\xe2\xe4\x01\x8c\x19\x46\x52\x4b\x1a\x2c\xf5\x6c\x66\x5a\xb1\x17\xe3\x3c\x7b\x98\x1f\xfd\xac\x76\x49\x9c\x9c\xc4\xf6\x54\xd7\x54\x57\xd7\xce\xa8\x1b\x39\x82\x41\xcb\x67\x61\xf4\x4c\xad\xd1\xb5\x22\xa8\xc0\xe0\xf7\x59\x19\xcc\x52\x7f\x56\x6e\x67\x69\x9e\xec\x9b\x9a\x41\xda\xe1\x1a\xef\xcb\x2b\x74\x66\x35\xee\x31\xee\x77\x9a\x27\xf1\x54\x3c\x40\x05\x6f\xef\xf1\x97\x22\xcb\x92\x1a\xb4\xa1\x18\xab\xdd\x4c\x0d\x2b\x4d\xd0\x23\x8b\x70\x73\x2d\x47\x87\x33\x82\x74\x8b\x36\x43\x6a\x4f\x5a\x11\xdb\x3c\x01\x08\x4d\xfe\x20\xd0\x2c\xa5\x17\x54\xfd\xc0\x50\xc1\x7f\x49\x02\xd0\x69\x03\xa2\x80\xa5\x15\x14\xc1\x49\x2a\xb3\x27\x83\x56\x27\x00\x4b\xfb\x52\x17\x96\x8d\xa2\x1e\xaa\xb5\x52\xca\xb6\x35\x68\x2d\x94\x25\xa4\xf7\xa9\xfb\xac\x47\x27\x6d\xd8\x93\x78\x41\x8f\x07\x92\x27\xa8\xa2\xac\x04\x5c\x8f\x13\x66\x90\x67\x43\x01\x9f\xf8\xda\xc1\x06\x45\xea\xe8\x43\xd6\xc9\x86\xb5\x39\x17\xab\x85\xdb\x64\x37\x4c\xf9\x88\x91\x09\x80\xea\x56\x3a\xe0\x01\xc9\xcf\xb1\x54\xee\x0d\x3a\x21\x99\x6f\x74\x57\xe0\x68\xf1\x02\x01\x15\x44\x59\xf7\x84\x2f\x3b\xe0\xc5\x9c\x0b\x3a\x8c\xba\x0e\x29\x1e\xca\xa8\x2d\xab\x65\xf3\x8c\xd4\x6e\x63\xec\x2e\x58\x13\xf3\x18\x51\x25\xc9\x09\x9f\x82\x78\xd2\x7c\x63\x80\xc5\x5f\x35\x6e\x5a\x6e\x6e\x38\x90\x44\xde\xc7\x74\x3e\x59\x36\x28\xa7\x3b\x17\xef\xbb\xfa\x9c\x3e\x6d\x9c\xa1\xff\x19\xcf\x50\xf9\xc0\x97\xe3\x2c\x05\xf5\xaf\xe2\x87\x34\xd9\x6f\x18\x72\xdf\x7d\x9d\xac\xd5\xe4\x4e\x51\x9b\x3d\xe3\xf9\xc2\xe0\x3f\xe1\xf3\xe3\x60\x31\x9f\x05\xb8\x34\x2e\x12\xed\x69\x54\x2c\x5c\xe6\xb3\x03\x61\xe1\x52\x9c\x6f\x2b\x7a\x5b\x08\xa0\xba\xa2\xf2\x9f\xf7\xeb\xe5\xc5\x74\xfc\xdb\xee\x62\xe0\x43\x78\xfc\xe3\x71\xf9\x46\xfd\xc5\x66\x8e\x24\xfe\x71\xda\xfc\xb9\x19\xf1\x70\xfd\xc4\xe1\x9f\x32\x21\x4b\x96\xf5\x88\xd9\x82\x0c\x5b\x53\x1d\x4c\x5c\x0a\xa1\xa8\xc5\x57\xf8\xb9\x86\x7d\xe3\x01\xa0\xfe\xb5\x1c\x75\x9f\xb9\xef\xe7\xaf\x9f\xbe\x15\x90\x7e\xf9\x1f\xe4\xd8\x6b\xa3\x78\x98\x60\x90\x16\x6a\x44\x82\x66\x90\xd4\x63\x5b\x38\x95\xc8\xec\xb6\xca\x03\xae\xda\xd2\x3c\x12\xee\xec\x0b\x01\x0e\x93\x6c\xf3\xdc\xf6\xd4\xbb\xfd\xa1\x57\x63\x69\xdb\xbd\x04\x9e\x3a\x46\x41\x3c\x24\xbf\x02\x00\x00\xff\xff\xea\x00\x73\xda\x37\x06\x00\x00") +var _etcNginxLuaBalancerRestyLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\x9c\x54\x4d\x8b\xdc\x30\x0c\xbd\xe7\x57\x88\x9c\x12\xc8\x06\x7a\x5d\xc8\xa5\xd0\x42\xa1\xdb\xc2\x5e\x97\xc1\x38\x89\x92\x98\x49\xe4\xa9\xed\x74\x66\x58\xb6\xbf\xbd\xf8\x23\x9f\x33\xb4\xdb\x9e\x42\x64\xe9\xf9\x3d\xe9\xc9\xbd\xac\x78\x0f\x0a\xb5\xb9\x32\x25\x47\xaa\x95\x2c\x05\x41\x01\x0a\x7f\x8c\x42\x61\x12\xbb\xb3\x7c\x39\x8b\xd3\x68\x5d\x54\x75\x5c\x77\xb7\xf9\x2e\x3c\xa7\x8e\x46\xf4\xeb\x1c\xfb\x1f\xa7\x51\x38\x65\x4f\x50\xc0\xeb\x5b\xf8\x13\xa4\x0d\xa7\x0a\xb5\x0f\x86\x68\x33\x52\x65\x84\x24\x68\xd1\x30\x7f\x73\xc9\x7b\x9b\xa7\x18\xc9\x1a\x75\x82\x54\x9f\xa4\x20\xa3\xd3\x08\xc0\x17\xb9\x03\x0f\x33\x85\xce\x28\xda\xce\x40\x01\x1f\xa2\x08\xa0\x91\x0a\x58\x06\x53\x29\x08\x82\x13\x17\x6a\x0d\x06\xb5\x8c\x00\xa6\xf2\x29\xce\xb4\x51\x82\x5a\x28\xe6\x48\xce\xeb\x5a\xa1\xd6\x90\xe7\x10\x3f\xc6\xf6\x33\x1f\x9d\xa4\x32\x0e\xc4\x11\x7a\xd9\x81\x1c\xa0\x08\xb4\x22\xb0\x35\x96\x98\x42\x33\x2a\xf2\xf9\x91\x8b\xed\xda\x20\x48\xec\xfb\x90\x34\xbc\x32\x52\x5d\xb3\xb9\x85\x8b\xb2\x3b\x4d\x79\x4f\x23\x23\x00\xd1\xcc\x70\x60\x3a\x24\xa7\x63\x8a\x3c\x2a\xb4\x44\x12\x57\x68\xaf\xc0\x5e\xe3\x26\x03\x0a\x08\xb4\x1e\x09\xcf\xab\xc4\x8d\xce\x29\xdb\x4b\x9d\x45\xb2\xa7\x3c\x70\x4b\x4a\x5e\x1d\x91\xea\x45\xc6\xea\x82\xd9\x31\x2f\x21\x2b\x27\x3e\xe0\xc1\x93\x27\x69\xee\x08\xa0\xf6\x92\xf7\xb2\x4d\xec\xf7\xd3\xf3\x73\x06\x31\x49\xf8\xfa\x11\x78\xdf\x4a\x25\x4c\x37\x2c\x35\x67\xae\xa1\xb1\xee\x8f\x53\x57\x3a\x8d\x46\xf4\x8b\x8c\xbb\xe6\xf0\xf7\x07\x4a\x2f\xf1\x78\xd2\x46\x21\x1f\x1e\xec\x66\x3c\x94\xd7\xf8\xb0\xd0\xf1\xf5\x47\xbc\x42\xe1\x76\x25\xef\x47\xce\xa8\xbd\xb0\x9f\x5c\x25\x7f\x40\xf0\x8c\x6e\x4d\x39\xcf\xa7\x11\x54\x27\x47\xbc\x6e\x66\xf3\xb7\xfc\x74\x2f\x2c\x58\x3b\x03\x6b\xe4\x89\xa2\x3e\xf5\xc2\x30\xbb\x2e\xc9\x0e\x30\xb3\x0b\x90\x2e\xd3\x7d\x9d\x00\xa0\xb8\x81\x72\x9f\xb7\xdb\xb9\x07\x63\xfd\xdf\xd8\xc3\xae\x78\xdf\xb9\x77\x67\xfb\xbc\xfd\xc3\x64\xf6\x20\xee\x5d\x5b\xfa\x73\x77\x3b\xfc\xf5\x83\xf1\x4b\x36\xa0\xe1\x86\x97\x3d\x26\x53\xa6\x9f\x9a\x68\x60\x30\x39\x63\x82\x6a\xbc\xc0\xaf\x79\x4f\x16\x9c\xad\x4d\xbf\x7c\xfb\xfc\x3d\x83\x78\x63\xd2\x8e\x6b\x28\x11\x09\xaa\x8e\x53\x8b\x75\x66\x59\xa2\x31\x76\xaa\xa6\xc3\x99\x5b\xb0\xee\x66\x2d\xbd\x81\xbd\x92\x45\xcf\xfd\x9e\xba\x6e\xbf\xeb\xc1\x99\xca\x56\x8f\x88\x83\x0e\x56\x60\x4f\xd1\xef\x00\x00\x00\xff\xff\xdd\x37\x9c\x81\x72\x06\x00\x00") func etcNginxLuaBalancerRestyLuaBytes() ([]byte, error) { return bindataRead( @@ -120,7 +120,7 @@ func etcNginxLuaBalancerRestyLua() (*asset, error) { return a, nil } -var _etcNginxLuaBalancerLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x57\x5b\x6f\xdb\x38\x16\x7e\xf7\xaf\x38\x10\x50\xc0\xc6\x3a\xc2\x76\xb1\x4f\xc1\x7a\x01\xb7\x75\x67\x82\x49\x9c\x22\x49\x5b\x0c\x06\x05\x41\x4b\x47\x36\x6b\x9a\xd4\x90\x54\x1c\x63\x30\xfd\xed\x83\x43\x89\xd4\xc5\x76\xd2\xb9\xbc\x24\x16\xf9\xf1\xdc\xf8\x9d\x0b\xa5\xce\xb8\x04\xb5\x7e\x62\x2b\x2e\xb9\xca\xd0\xc0\x0c\x0c\xfe\x5a\x09\x83\xe3\x44\xad\x9f\xd2\xb0\x9e\x4c\x46\x35\xf8\xab\xd5\xaa\x0b\xca\x68\x21\xee\x66\x5a\x15\x62\x5d\x19\xee\xc4\x00\xd6\xdd\x88\xf0\xca\x09\xd9\x45\xd1\x77\xdc\x94\xa6\xca\x78\xb6\xc1\x2e\xc0\xa0\x75\x87\x34\xec\x44\x28\xee\x77\xbc\x0b\x0b\x56\xa7\xb4\x11\x51\xd6\x89\x6c\x7b\xe8\xe2\xea\x95\x08\xf0\xd2\x4f\x86\x22\x0a\xf4\x90\x64\x32\x1a\x5d\x5c\xc0\x0e\xb9\xad\x0c\xe6\x20\x14\x58\xcc\xb4\xca\x2d\x2d\x17\xda\x00\x57\xb0\x5c\x0b\xf5\x04\x7b\x6d\xb6\x68\xc0\x69\x28\x45\xb6\x85\xaa\x04\xb7\x41\x50\xb8\x07\x29\xac\x03\x5d\x40\x55\x5a\x67\x90\xef\xa0\x44\x34\x5e\x80\x70\xb0\x17\x52\x82\xe3\x5b\x84\xff\x11\x3e\x47\xc9\x0f\x50\x29\x0a\x57\xa6\x95\x33\x5a\x4a\x34\xf0\xe1\xf6\xfe\x01\x73\x2f\x71\xc5\xb3\x2d\xaa\x1c\xf4\xea\x2b\x66\x8e\xf4\xd1\x6a\x6d\x03\xaa\xbc\xd4\x42\xb9\xff\xc3\xbf\xe0\xcd\xfc\xed\x4f\x8b\xe5\xbb\x7b\x76\xff\xf3\xf2\x2d\xbb\x5a\x3e\x2c\xee\x3e\xcd\xaf\x1b\xff\x4f\x6f\xc2\x0c\x5e\x8f\x1a\xc4\xbb\xc5\xfb\xf9\xc7\xeb\x07\x76\xfd\x86\xcd\xaf\x7f\x80\x19\x24\x46\x57\x2a\x67\x46\xaf\x84\x4a\x02\x8a\xdd\xc0\x0c\x7e\xfb\xdd\x07\xe9\xe1\xf6\xdd\xed\x18\xe5\xa3\x50\x58\xa0\xca\xc5\x04\xf6\x08\x19\x57\x50\x1a\xbd\xe2\x2b\x79\x00\xfe\xa8\x45\x0e\xd6\x69\x23\xd4\x1a\xb8\x94\xc1\x19\x0b\x1b\x34\x98\xc2\x67\x04\x2e\x0d\xf2\xfc\xe0\x51\x48\xae\xed\x28\xe8\x6e\x83\xc2\xd0\xad\x95\x98\x39\xf1\x88\xa4\x4f\x6a\x9e\x43\xbc\x42\xb1\x2b\x25\xee\x50\x39\xcf\x3b\xdb\xd8\x17\xe4\x4f\x01\x0d\x5d\x73\xe0\x53\xaa\x70\x3f\x7e\xfd\xef\xff\xfc\x77\x32\x12\x05\x28\xed\x5a\x4b\xdc\x06\xd5\x08\xc0\xa0\xab\x8c\xa2\x63\xda\x8c\x93\x82\x0b\x49\xf1\xd7\x90\x19\xe4\xce\x1b\x06\x35\x67\x89\x04\xe1\xf0\x25\x24\x90\xa6\x30\x26\x65\xda\x40\x52\xa9\xad\xd2\x7b\x95\x4c\x26\x23\x54\x79\x08\x5a\x51\xa9\xcc\x67\xcd\x1a\x1d\xcb\x2a\x63\x50\x39\xd6\x88\x18\x4f\x46\x00\x3d\xdb\x99\xe2\x3b\xca\x0c\xca\xd1\x47\x6e\xd2\xd2\xe8\xa7\x03\x0b\x5c\xf2\xbb\xc3\x23\x30\x6b\x2d\x5a\xa3\x1b\x77\x25\x4d\x46\x23\x80\xbe\xcf\xc1\x65\xf0\x3a\xa4\x5e\x8f\xe9\xff\xe7\xf9\xdd\x72\x0a\x89\xd2\x11\xd6\x4f\xf9\x82\xe8\xe0\xbd\xf7\x3e\x3b\x6d\x1d\x5d\x6b\x5f\x19\x79\xe3\x3d\x8f\x01\x6d\xb6\x5f\x8c\x87\x5c\x31\x2e\xd7\xc7\xe1\x80\xd9\xd9\xb0\x9d\xf3\xaa\xd1\xac\x84\x3c\x67\xcd\x2f\x09\x91\xe9\xa2\x21\x53\xf2\x85\x2e\xaf\x9f\x00\x27\xed\x6d\xf0\xff\xb0\x91\xd3\x8e\xa5\x41\x6e\x1d\x8d\x81\xd8\xa3\x10\x09\xcb\x62\xe5\xab\x7f\xa4\x71\x29\xdc\x4b\xb8\xff\x16\x1b\x4d\x68\x2a\x6c\x53\x43\x5a\x19\xa4\x33\xac\xb6\x62\xe8\x84\x28\x5a\xf8\xb7\x19\xd9\xdd\x4a\x6b\x53\xa8\x41\xa4\x3c\xcf\x0d\x5a\xca\xc5\xb0\x52\x6a\xe3\x3c\xb8\xf6\x15\x5a\x3f\xfb\xd5\x26\x5e\x9b\x28\xda\x2b\x0b\x29\x70\xb1\xe1\x76\x73\xb1\x3a\x24\x5f\x9e\x71\xa5\x5f\xf0\x43\xb3\xeb\x7b\xf3\xdd\xf6\xb6\xc6\x04\x7b\x67\x90\xf8\x06\xf4\x8c\x05\xb4\x3f\xd4\x9b\x86\x7d\xfb\x77\x2d\xf8\x36\x1b\x56\xec\x67\x92\xba\xce\xd4\xb4\xd0\x66\xc7\xdd\x38\x79\x65\x41\x58\xcf\x4a\x5b\x95\xa4\x00\xf3\x29\x14\x5c\x4a\xaa\xd2\x64\x29\xd5\xbd\x57\x36\x99\xb6\x49\x5e\x6b\x9d\x4c\x07\x4a\xbb\xf9\xfe\x17\xae\xa0\xc9\x8d\x78\xe6\x85\xe4\x38\x4b\xe4\x86\xb7\xb6\xcb\xdb\xf0\x63\x0a\x1d\x85\xfd\x62\xf0\x52\xd8\x4f\x95\x00\x7b\x50\x59\xcc\xef\x8e\xe4\x58\x7f\x6d\x5b\x7f\x53\x2a\x89\x1d\xfd\xc7\xd9\xfd\xfd\xe5\x68\x04\xd0\xb4\xdc\x4b\xb8\x43\x8b\x0e\xac\xa3\xbe\xa4\x0b\x58\x7c\xbe\x99\x43\x89\xb1\x2b\xbd\xc4\x54\xe2\x85\xdd\x70\x83\x79\x9c\x01\x19\x41\x2e\x0b\x59\xd9\x0d\xe3\x52\x8e\x27\xcf\x02\x99\xe4\xd6\x31\xa7\xab\x6c\x83\x39\xe3\xee\xe8\x60\x1d\xdf\x6e\xbc\x7b\x4c\x30\x28\x94\xe8\x54\x96\x97\xe2\x6c\x8f\x0b\xae\x65\x39\x77\x34\x18\xf6\x7a\x94\xaf\x5c\x3d\xc4\x89\x12\xdc\x1c\x1d\x70\x6d\xc8\x63\xbd\x9d\xd2\x2c\x17\xa5\xc1\x0c\xca\x8c\x3c\xa4\xa1\x38\xcd\x31\xd3\x79\x7b\xb5\xb5\xc8\x8e\x2a\xbd\x3d\x9d\x8e\x8b\xbb\xbb\x29\x40\x92\xe9\x4a\xe6\x1e\x58\x72\x63\xb1\x9d\x45\x48\xcc\xe5\xa0\xbf\x76\xad\x98\x9c\x8e\x2f\x35\x65\xd6\xb3\x97\x66\xa8\x92\x0b\x63\xfb\xc7\x21\xd7\x9d\x62\x75\x66\x7a\xe8\x9c\x48\xeb\x09\xe2\xe8\x08\xcb\x36\x5c\xad\x91\x8e\x3a\x53\xe1\x28\x34\x87\xa3\x2e\x07\x27\x4e\x90\xdf\xf4\x1c\x48\x73\xc4\x92\x65\x7a\x57\x72\x13\xcb\x42\xcf\x8b\x49\xec\x15\x03\x05\x51\x5a\x47\x51\x2f\x33\x4f\x0a\xa9\xff\x9e\x62\x1b\x2f\x1c\x1a\x76\xdc\xde\x5f\x6a\xc3\xcf\xe6\x99\x6f\x00\xc7\x92\xa3\x0d\x51\x3b\xbb\x49\x29\x21\x58\xfd\xa2\xf0\x20\x16\x06\x58\x62\x8d\x13\x3b\x7a\xf0\x3c\xa2\x39\x8c\x4f\x0f\xf2\xd3\x7e\xbe\x34\xa6\x91\x84\xf3\x34\x1c\x34\x05\x3f\xf8\xc2\x7e\x83\xf4\xe2\x71\x8e\x5a\x01\x3d\x69\x5a\xd5\x9e\x65\x3d\x35\x97\x83\x26\x81\xc6\x4c\x26\x67\x5d\xcc\x42\x7d\xa8\x43\x5b\x6e\xb8\x0d\x63\x2e\x45\xd7\x7f\x87\xa0\x36\x9b\x33\x48\xa4\x5e\x77\x42\x7a\x1c\xcd\x41\x32\x74\x4e\x7f\x9b\x41\x7c\xdc\x25\x47\xad\xa5\x99\xf3\x77\x95\x75\xb0\xa2\xd1\x5e\xca\xfa\xb9\x17\x1f\x18\xda\x80\xd4\xeb\x29\xac\x2a\x07\x7b\x6e\x5b\x48\x93\xa0\x5e\x4b\xa7\xa9\x74\xdf\xda\xbe\x15\xed\xb4\x41\xe6\x8c\x40\x3b\x7e\xdd\x29\xfe\x1b\x6d\xdd\x14\xa8\xc1\xf8\xc4\x6b\x5d\x69\x6a\x07\xed\x0f\x8a\xb5\xe3\xae\xb2\x4d\xac\x7e\x7c\x78\xf8\xc0\xee\x17\x77\x9f\xae\xde\x2e\xd8\xc7\xe5\xfc\xd3\xfc\xea\x7a\xfe\xe6\x7a\xf1\x6c\x2d\x1b\x81\x2f\x68\x91\x52\x7d\x43\x03\xb1\xe9\x99\x3a\x6e\xcd\x6b\x6c\x3a\x57\xcb\xae\x96\xef\x6f\xa7\x21\xf7\xfa\x5c\x6a\x04\xfa\x77\x2f\x8d\x1a\xd4\xae\xfc\x48\x71\xf9\xca\x42\x65\x89\x5b\x4d\xda\x78\x02\xb5\x2a\x3b\x64\x3a\x95\x71\x0d\xbb\xa4\xc5\x3f\x45\x69\x21\x31\x72\x3a\x98\xd6\x7b\x9b\x1f\xcf\x3b\xc7\x54\x6e\x78\xc3\x6e\x46\x7f\x04\x00\x00\xff\xff\x7a\xce\x3c\xcc\x5b\x11\x00\x00") +var _etcNginxLuaBalancerLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xac\x58\x5b\x6f\x1b\xbb\x11\x7e\xd7\xaf\x18\x2c\x10\x40\x8b\xca\x8b\xa6\xe8\x93\x51\x15\x50\x12\xa5\x35\xea\x4b\x60\x3b\x09\x8a\x22\x20\xa8\xdd\x59\x89\x11\x45\x6e\x49\xae\x65\xa1\x68\x7e\xfb\xc1\x50\x4b\x2e\x57\x17\xfb\xe4\x9c\xf3\x14\x6b\x39\x9c\xeb\x37\xdf\x0c\x23\x75\xc9\x25\xa8\xe5\x33\x5b\x70\xc9\x55\x89\x06\xa6\x60\xf0\xbf\xad\x30\x38\xce\xd4\xf2\xb9\x08\xdf\xb3\x7c\xb4\x17\xfe\x6e\xb5\x4a\x85\x4a\xfa\x10\x4f\x4b\xad\x6a\xb1\x6c\x0d\x77\xe2\x40\x2c\x3d\x88\xe2\xad\x13\x32\x95\xa2\xdf\xf1\x50\x9a\xb6\xe4\xe5\x0a\x53\x01\x83\xd6\xed\x8a\x70\x12\x45\x71\xbb\xe1\xa9\x58\xf0\xba\xa0\x83\x28\x65\x9d\x28\xd7\xbb\x54\x6e\xff\x25\x0a\x78\xed\x27\x53\x11\x15\x7a\x91\x2c\x1f\x8d\x2e\x2e\x60\x83\xdc\xb6\x06\x2b\x10\x0a\x2c\x96\x5a\x55\x96\x3e\xd7\xda\x00\x57\x70\xbb\x14\xea\x19\xb6\xda\xac\xd1\x80\xd3\xd0\x88\x72\x0d\x6d\x03\x6e\x85\xa0\x70\x0b\x52\x58\x07\xba\x86\xb6\xb1\xce\x20\xdf\x40\x83\x68\xbc\x02\xe1\x60\x2b\xa4\x04\xc7\xd7\x08\x7f\x23\xf9\x0a\x25\xdf\x41\xab\x28\x5d\xa5\x56\xce\x68\x29\xd1\xc0\xa7\xbb\x87\x47\xac\xbc\xc6\x05\x2f\xd7\xa8\x2a\xd0\x8b\xef\x58\x3a\xb2\x47\x5f\xf7\x3e\xa0\xaa\x1a\x2d\x94\xfb\x3b\xfc\x09\xde\xcd\xde\xff\x6b\x7e\xfb\xe1\x81\x3d\xfc\xfb\xf6\x3d\xbb\xba\x7d\x9c\xdf\x7f\x99\x5d\x77\xf1\x9f\x3e\x84\x29\xbc\x1d\x75\x12\x1f\xe6\x1f\x67\x9f\xaf\x1f\xd9\xf5\x3b\x36\xbb\xfe\x07\x4c\x21\x33\xba\x55\x15\x33\x7a\x21\x54\x16\xa4\xd8\x0d\x4c\xe1\x7f\xff\xf7\x49\x7a\xbc\xfb\x70\x37\x46\xf9\x24\x14\xd6\xa8\x2a\x91\xc3\x16\xa1\xe4\x0a\x1a\xa3\x17\x7c\x21\x77\xc0\x9f\xb4\xa8\xc0\x3a\x6d\x84\x5a\x02\x97\x32\x04\x63\x61\x85\x06\x0b\xf8\x8a\xc0\xa5\x41\x5e\xed\xbc\x14\x52\x68\x1b\x4a\xba\x5b\xa1\x30\x54\xb5\x06\x4b\x27\x9e\x90\xec\x49\xcd\x2b\x88\x25\x14\x9b\x46\xe2\x06\x95\xf3\xb8\xb3\x9d\x7f\x41\xff\x04\xd0\x50\x99\x03\x9e\x0a\x85\xdb\xf1\xdb\x3f\xff\xe5\xaf\xf9\x48\xd4\xa0\xb4\xeb\x3d\x71\x2b\x54\x23\x00\x83\xae\x35\x8a\xae\x69\x33\xce\x6a\x2e\x24\xe5\x5f\x43\x69\x90\x3b\xef\x18\xec\x31\x4b\x20\x08\x97\x2f\x21\x83\xa2\x80\x31\x19\xd3\x06\xb2\x56\xad\x95\xde\xaa\x2c\xcf\x47\xa8\xaa\x90\xb4\xba\x55\xa5\xef\x9a\x25\x3a\x56\xb6\xc6\xa0\x72\xac\x53\x31\xce\x47\x00\x03\xdf\x99\xe2\x1b\xea\x0c\xea\xd1\x27\x6e\x8a\xc6\xe8\xe7\x1d\x0b\x58\xf2\xa7\x87\x57\x60\xda\x7b\xb4\x44\x37\x4e\x35\xe5\xa3\x11\xc0\x30\xe6\x10\x32\x78\x1b\x52\x2f\xc7\xf4\xef\xd7\xd9\xfd\xed\x04\x32\xa5\xa3\xd8\xb0\xe5\x6b\x82\x83\x8f\xde\xc7\xec\xb4\x75\x54\xd6\xa1\x31\x8a\xc6\x47\x1e\x13\xda\x1d\xbf\x9a\x0f\xb9\x60\x5c\x2e\x8f\xd3\x01\xd3\xb3\x69\x3b\x17\x55\x67\x59\x09\x79\xce\x9b\xff\x64\x04\xa6\x8b\x0e\x4c\xd9\x37\x2a\xde\xb0\x01\x4e\xfa\xdb\xc9\xff\xc1\x4e\x4e\x12\x4f\x83\xde\x7d\x36\x0e\xd4\x1e\xa5\x48\x58\x16\x99\x6f\xff\x47\x11\x3f\x85\xba\x84\xfa\xf7\xb2\xd1\x85\x8e\x61\x3b\x0e\xe9\x75\x90\xcd\xf0\xb5\x57\x43\x37\x44\xdd\x8b\xff\x98\x92\xdf\xbd\xb6\xbe\x85\x3a\x89\x82\x57\x95\x41\x4b\xbd\x18\xbe\x34\xda\x38\x2f\xbc\x8f\x15\xfa\x38\x87\x6c\x13\xcb\x26\xea\xbe\x64\xa1\x05\x2e\x56\xdc\xae\x2e\x16\xbb\xec\xdb\x0b\xa1\x0c\x09\x3f\x0c\xbb\xa3\x68\xa8\x34\xf1\xd6\x71\x28\x49\x75\xa2\x4b\x3f\x11\x67\x1f\x44\x88\x73\x0a\x99\x1f\x5c\x2f\x78\x4e\xe7\x87\xfe\x16\xe1\xdc\xe6\xbf\xd3\x83\x1f\xd3\x43\xa6\x7f\x81\x0c\xf6\x1d\x5e\xd4\xda\x6c\xb8\x1b\x67\x6f\x2c\x08\xeb\x53\x66\xdb\x86\x0c\x60\x35\x81\x9a\x4b\x49\xec\x4e\x9e\x12\x5f\xbe\xb1\xd9\xa4\x27\x87\xbd\xd5\x7c\x72\x60\x34\xe5\x89\xdf\x50\xba\xb3\x85\x3b\xdd\x54\x67\x1b\xa0\xc3\xbb\x4d\xf1\x1e\xfe\x98\x40\x62\x70\x48\x22\xaf\xa5\xfd\x14\x75\xd8\x9d\x2a\x23\x2f\x24\x9a\x23\x6f\xdb\x9e\xb7\x0b\xa2\xd2\xc4\xfe\x31\x2b\xfc\x7a\x1a\x7b\xbd\x87\xb4\x49\xd1\x99\xb6\x61\x9a\xd7\x41\x49\x0c\x0a\x25\x06\xd4\xd0\x25\xa8\xdb\x0a\x2e\xe1\x1e\x2d\x3a\xb0\x8e\x46\xa7\xae\x61\xfe\xf5\x66\x06\x0d\xc6\xc1\xf9\x5a\x53\x10\x04\xed\x8a\x1b\xac\xe2\x9a\xca\x48\xe4\xb2\x96\xad\x5d\x31\x2e\xe5\x38\x7f\x51\x90\x49\x6e\x1d\x73\xba\x2d\x57\x58\x31\xee\x0e\x2e\x9e\x1b\x48\x69\x95\xec\x31\xcd\x5b\x56\x71\x47\xeb\xe8\x60\x32\x7a\xbe\x1c\x48\x9c\x20\xfe\xee\xea\x01\x52\x0f\xbb\x40\xaf\x27\xb4\x41\x46\x6d\x30\x85\xa6\x24\xa7\x69\x15\x2f\x2a\x2c\x75\xd5\x03\x63\xaf\x32\x31\xa5\xd7\xa7\x9b\x79\x7e\x7f\x3f\x01\xc8\x4a\xdd\xca\xca\x0b\x36\xdc\x58\xec\x37\x20\x52\x73\x79\x30\xd5\x53\x2f\xf2\xfc\xa4\xcb\xb4\x0a\xb0\x81\xbf\xb4\xb9\x35\x5c\x18\x3b\xbc\x0e\x95\x4e\xa8\xee\xcc\xce\x92\xdc\x28\xf6\x7b\xcb\xd1\x15\x56\xae\xb8\x5a\x22\x5d\x75\xa6\xc5\x51\x20\xf1\xa3\xd9\x0a\x27\x6e\x50\xdc\xf4\x08\x29\x2a\xc4\x86\x95\x7a\xd3\x70\x13\x49\x65\x10\x45\x3e\x64\xfb\xde\x40\xd4\x96\x18\x1a\xf4\xf5\x49\x25\xe7\xd1\xc6\x6b\x87\x86\x1d\x2f\x15\xaf\x0d\xff\x17\x5b\xc7\x8f\x8f\x63\xcd\xd1\x87\x68\x9d\xdd\x14\xd4\xc5\x6c\xff\x8e\xf1\x42\x2c\xac\xcd\x84\x1a\x27\x36\xf4\xcc\x7a\x42\xb3\x1b\x9f\x7e\x3e\x4c\x86\xfd\xd2\xb9\x46\x1a\xce\xc3\xf0\x60\xa4\xf8\x75\x1b\xb6\x2b\xa4\x77\x96\x73\x34\x48\xe8\x21\xd5\x9b\xf6\x28\x1b\x98\xb9\x3c\x18\x31\x68\x4c\x9e\x9f\x0d\xb1\x0c\x2d\xbf\x4f\x6d\xb3\xe2\x36\x2c\xd7\x94\x5d\xff\x3b\x24\xb5\x3b\x9c\x42\x26\xf5\x32\x49\xe9\x71\x36\x0f\x9a\x21\xb9\xfd\x63\x0a\xf1\x49\x99\x1d\x0d\xa6\xee\x75\xb1\x69\xad\x83\x05\x3d\x28\xa4\xdc\x3f\x32\xe3\xb3\x86\xd8\x58\x2f\x27\xb0\x68\x1d\x6c\xb9\xed\x45\xba\x06\xf5\x56\x12\xc6\x4d\x5f\xf8\x7e\x90\x6d\xb4\x41\xe6\x8c\x40\x3b\x7e\x9b\x8c\x8e\x95\xb6\x6e\x02\x34\x9e\x7c\xe3\xf5\xa1\x74\xdc\x41\xe7\x07\xfc\xeb\xb8\x6b\x6d\x97\xab\x7f\x3e\x3e\x7e\x62\x0f\xf3\xfb\x2f\x57\xef\xe7\xec\xf3\xed\xec\xcb\xec\xea\x7a\xf6\xee\x7a\xfe\x22\x97\x8d\xc0\x13\x5a\x84\xd4\xd0\xd1\x00\x6c\x7a\x1c\x8f\x7b\xf7\x3a\x9f\xce\x71\xd9\xd5\xed\xc7\xbb\x49\xe8\xbd\x21\x96\x3a\x85\xfe\xb5\x4d\x8b\x0a\x4d\x20\xbf\x90\x5c\xbe\xb1\xd0\x5a\xc2\x56\xd7\x36\x1e\x40\xbd\xc9\x04\x4c\xa7\x3a\xae\x43\x97\xb4\xf8\x53\x90\x16\x12\x23\xa6\x83\x6b\x83\xff\x11\x38\xde\x96\x8e\xa1\xdc\xe1\x86\xdd\x8c\x7e\x09\x00\x00\xff\xff\x2d\x0a\xc0\x52\xd1\x11\x00\x00") func etcNginxLuaBalancerLuaBytes() ([]byte, error) { return bindataRead( diff --git a/rootfs/etc/nginx/lua/balancer.lua b/rootfs/etc/nginx/lua/balancer.lua index 35124caac..b7d104a19 100644 --- a/rootfs/etc/nginx/lua/balancer.lua +++ b/rootfs/etc/nginx/lua/balancer.lua @@ -61,6 +61,10 @@ local function balance() if backend["upstream-hash-by"] then local endpoint = resty_balancer.balance(backend) + if not endpoint then + return nil, nil + end + return endpoint.address, endpoint.port end @@ -90,14 +94,15 @@ local function sync_backend(backend) local lb_alg = backend["load-balance"] or DEFAULT_LB_ALG + if backend["upstream-hash-by"] or lb_alg == "round_robin" then + resty_balancer.reinit(backend) + end + -- TODO: Reset state of EWMA per backend if lb_alg == "ewma" then ngx.shared.balancer_ewma:flush_all() ngx.shared.balancer_ewma_last_touched_at:flush_all() - return end - - resty_balancer.reinit(backend) end local function sync_backends() diff --git a/rootfs/etc/nginx/lua/balancer/resty.lua b/rootfs/etc/nginx/lua/balancer/resty.lua index b0762d0bb..4ecef9a76 100644 --- a/rootfs/etc/nginx/lua/balancer/resty.lua +++ b/rootfs/etc/nginx/lua/balancer/resty.lua @@ -32,6 +32,7 @@ end function _M.balance(backend) local instance = instances[backend.name] if not instance then + ngx.log(ngx.ERR, "no LB algorithm instance was found") return nil end