[fix] save all instance counts, even if ==1 (because different components have different default instance counts

This commit is contained in:
Daniel_M_Williams 2020-03-30 19:40:54 -04:00
parent 370f457a85
commit e56e47e83d

View File

@ -90,8 +90,8 @@ public class RocketComponentSaver {
if( c instanceof Clusterable ){
; // no-op. Instance counts are set via named cluster configurations
}else if( 1 < instanceCount ) {
emitInteger( elements, "instancecount", c.getInstanceCount() );
}else {
emitInteger(elements, "instancecount", c.getInstanceCount());
}
if( c instanceof LineInstanceable ){