[fix] save all instance counts, even if ==1 (because different components have different default instance counts
This commit is contained in:
parent
370f457a85
commit
e56e47e83d
@ -90,8 +90,8 @@ public class RocketComponentSaver {
|
|||||||
|
|
||||||
if( c instanceof Clusterable ){
|
if( c instanceof Clusterable ){
|
||||||
; // no-op. Instance counts are set via named cluster configurations
|
; // no-op. Instance counts are set via named cluster configurations
|
||||||
}else if( 1 < instanceCount ) {
|
}else {
|
||||||
emitInteger( elements, "instancecount", c.getInstanceCount() );
|
emitInteger(elements, "instancecount", c.getInstanceCount());
|
||||||
}
|
}
|
||||||
|
|
||||||
if( c instanceof LineInstanceable ){
|
if( c instanceof LineInstanceable ){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user