Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions pkg/aws/eni/instances.go
Original file line number Diff line number Diff line change
Expand Up @@ -219,11 +219,7 @@ func (m *InstancesManager) resync(ctx context.Context, instanceID string) time.T
m.logger.Warn("Unable to retrieve EC2 security group list", logfields.Error, err)
return time.Time{}
}
routeTables, err := m.api.GetRouteTables(ctx)
if err != nil {
m.logger.Warn("Unable to retrieve EC2 route table list", logfields.Error, err)
return time.Time{}
}
routeTables := ipamTypes.RouteTableMap{}

// An empty instanceID indicates that this is full resync, ENIs from all instances
// will be refetched from EC2 API and updated to the local cache. Otherwise only
Expand Down
Loading