Commit e899f9d1 authored by Noel Alonso's avatar Noel Alonso
Browse files

Permite que lastSnapshotItem sea null

Para los casos en los que no haya snapshot (añadir)
parent ede22508
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -35,7 +35,7 @@ public class SettingsRollbackEvent extends BaseRollbackEvent {
	public static final org.apache.avro.Schema SCHEMA$ = new org.apache.avro.Schema.Parser().parse("{"
		+ "\"type\":\"record\",\"name\":\"SettingsRollbackEvent\","
				+ "\"namespace\":\"es.redmic.usersettingslib.events.fail\",\"fields\":["
			+ "{\"name\":\"lastSnapshotItem\",\"type\":" + SettingsDTO.SCHEMA$.toString() + "},"
			+ "{\"name\":\"lastSnapshotItem\",\"type\":[\"null\"," + SettingsDTO.SCHEMA$.toString() + "]},"
			+ "{\"name\":\"failEventType\",\"type\": \"string\"},"
			+ getEventBaseSchema() + "]}");