Send PodCIDR to network plugins as an event

This commit is contained in:
Dan Williams
2016-01-26 22:02:59 -06:00
parent fc2929ed05
commit 67414afd11
6 changed files with 40 additions and 10 deletions

View File

@@ -94,7 +94,6 @@ func (s *runtimeState) errors() []string {
func newRuntimeState(
runtimeSyncThreshold time.Duration,
configureNetwork bool,
cidr string,
runtimeCompatibility func() error,
) *runtimeState {
var networkError error = nil
@@ -105,7 +104,6 @@ func newRuntimeState(
lastBaseRuntimeSync: time.Time{},
baseRuntimeSyncThreshold: runtimeSyncThreshold,
networkError: networkError,
cidr: cidr,
internalError: nil,
runtimeCompatibility: runtimeCompatibility,
}