Skip to content

Commit

Permalink
Fix unit policy
Browse files Browse the repository at this point in the history
  • Loading branch information
hexiaofeng committed May 27, 2024
1 parent e79bffe commit d8b2bbd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ public void supplement(ServiceLivePolicy source) {
writeProtect = source.getWriteProtect();
}
if (unitPolicy == null) {
unitPolicy = source.getUnitPolicy() == null ? UnitPolicy.NONE : source.getUnitPolicy();
unitPolicy = source.getUnitPolicy();
}
if (defaultUnitThreshold == null) {
defaultUnitThreshold = source.getDefaultUnitThreshold();
Expand Down

0 comments on commit d8b2bbd

Please sign in to comment.