File tree 3 files changed +13
-10
lines changed
3 files changed +13
-10
lines changed Original file line number Diff line number Diff line change 1
1
sudo : required
2
2
language : go
3
- go : 1.9
3
+ go : 1.9.x
4
4
5
5
addons :
6
6
apt :
Original file line number Diff line number Diff line change 159
159
"revisionTime" : " 2017-03-27T21:44:30Z"
160
160
},
161
161
{
162
- "checksumSHA1" : " B0xFOAo+jHUmUX7nmdPCFClwxJ0 =" ,
162
+ "checksumSHA1" : " JQZ9ii/Qu6/OX0oipEgQPUy3tt0 =" ,
163
163
"path" : " github.com/nanobox-io/nanobox-router" ,
164
- "revision" : " 8cb764136ffa4b96c430a6f15ebd362ac0cfa26b " ,
165
- "revisionTime" : " 2017-09-08T21:39:15Z "
164
+ "revision" : " 3477b55c49bf04771ac1dcce48c00f139eaf2757 " ,
165
+ "revisionTime" : " 2018-01-08T19:34:17Z "
166
166
},
167
167
{
168
168
"checksumSHA1" : " 65+hx0QlLzpWe5pnjAzteKBnC10=" ,
Original file line number Diff line number Diff line change 4
4
package vipmgr
5
5
6
6
import (
7
- "fmt"
8
-
9
7
"github.com/nanopack/portal/core"
8
+ "github.com/nanopack/portal/config"
10
9
)
11
10
12
11
type ip struct {}
@@ -16,14 +15,18 @@ func (self ip) Init() error {
16
15
return nil
17
16
}
18
17
func (self ip ) SetVip (vip core.Vip ) error {
19
- return fmt .Errorf ("Functionality not supported on darwin|windows" )
18
+ config .Log .Warn ("VIP functionality not fully supported on darwin|windows. Continuing anyways" )
19
+ return nil
20
20
}
21
21
func (self ip ) DeleteVip (vip core.Vip ) error {
22
- return fmt .Errorf ("Functionality not supported on darwin|windows" )
22
+ config .Log .Warn ("VIP functionality not fully supported on darwin|windows. Continuing anyways" )
23
+ return nil
23
24
}
24
25
func (self ip ) SetVips (vips []core.Vip ) error {
25
- return fmt .Errorf ("Functionality not supported on darwin|windows" )
26
+ config .Log .Warn ("VIP functionality not fully supported on darwin|windows. Continuing anyways" )
27
+ return nil
26
28
}
27
29
func (self ip ) GetVips () ([]core.Vip , error ) {
28
- return nil , fmt .Errorf ("Functionality not supported on darwin|windows" )
30
+ config .Log .Warn ("VIP functionality not fully supported on darwin|windows. Continuing anyways" )
31
+ return nil , nil
29
32
}
You can’t perform that action at this time.
0 commit comments