Skip to content

Commit 747a7f0

Browse files
committed
handling restore
1 parent 42a8838 commit 747a7f0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

netmaster/master/servicelb.go

-2
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,6 @@ func RestoreServiceProviderLBDb() {
248248
}
249249
mastercfg.SvcMutex.Unlock()
250250
}
251-
252251
//Recover from endpoint state as well .
253252
epCfgState := mastercfg.CfgEndpointState{}
254253
epCfgState.StateDriver = stateDriver
@@ -264,7 +263,6 @@ func RestoreServiceProviderLBDb() {
264263
providerInfo.Network = strings.Split(ep.NetID, ".")[0]
265264
providerInfo.Tenant = strings.Split(ep.NetID, ".")[1]
266265
providerInfo.Labels = make(map[string]string)
267-
providerInfo.IPAddress = ep.IPAddress
268266

269267
for k, v := range ep.Labels {
270268
providerInfo.Labels[k] = v

0 commit comments

Comments
 (0)