mirror of
				https://github.com/opennetworkinglab/onos.git
				synced 2025-10-31 16:21:00 +01:00 
			
		
		
		
	Bug Fix in DistributedMeterStore
When a meter fails to get added via ONOS app, instead of showing the reason for failure, it throws exception: IllegalArgumentException: Class is not registered: org.onosproject.net.meter.MeterFailReason This fix registers approprate class to eliminate the exception. Change-Id: I34cf10e7644980c9b40c3d6d4a51f5a6969f2d95
This commit is contained in:
		
							parent
							
								
									b34d8f3e7b
								
							
						
					
					
						commit
						1bea289a91
					
				| @ -98,7 +98,8 @@ public class DistributedMeterStore extends AbstractStore<MeterEvent, MeterStoreD | ||||
|             .register(DefaultBand.class) | ||||
|             .register(Band.Type.class) | ||||
|             .register(MeterState.class) | ||||
|             .register(Meter.Unit.class); | ||||
|             .register(Meter.Unit.class) | ||||
|             .register(MeterFailReason.class); | ||||
| 
 | ||||
|     private Serializer serializer = Serializer.using(Lists.newArrayList(APP_KRYO_BUILDER.build())); | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user