Extern LocalRangeTracker interface with String method
Cleaner approach than passing a tracker name to ipam/http.
This commit is contained in:
1 parent
21fb953d0f
commit
62c30d9130
6 files changed
+13
-6
No files matched your search
@@ -123,6 +123,10 @@ func (t *AWSVPCTracker) HandleUpdate(prevRanges, currRanges []address.Range, loc
|
||||
return nil
|
||||
}
|
||||
|
||||
func (t *AWSVPCTracker) String() string {
|
||||
return "awsvpc"
|
||||
}
|
||||
|
||||
func (t *AWSVPCTracker) createVPCRoute(cidr string) (*ec2.CreateRouteOutput, error) {
|
||||
route := &ec2.CreateRouteInput{
|
||||
RouteTableId: &t.routeTableID,
|
||||
|
||||
Reference in new issue
Block a user