mirror of
https://gitee.com/dromara/MilvusPlus.git
synced 2025-12-06 17:08:27 +08:00
update 配置banner将字段统一命名为banner
This commit is contained in:
parent
3a49969125
commit
51cc4ed9df
@ -22,5 +22,5 @@ public class MilvusPropertiesConfiguration {
|
|||||||
private List<String> packages;
|
private List<String> packages;
|
||||||
private boolean openLog;
|
private boolean openLog;
|
||||||
private String logLevel;
|
private String logLevel;
|
||||||
private boolean isPrintBanner = true;
|
private boolean banner = true;
|
||||||
}
|
}
|
||||||
@ -48,7 +48,7 @@ public class MilvusInit extends AbstractMilvusClientBuilder implements Initializ
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void maybePrintBanner() {
|
public void maybePrintBanner() {
|
||||||
if (milvusPropertiesConfiguration.isPrintBanner()) {
|
if (milvusPropertiesConfiguration.isBanner()) {
|
||||||
printBanner();
|
printBanner();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -22,5 +22,5 @@ public class MilvusPropertiesConfiguration {
|
|||||||
private List<String> packages;
|
private List<String> packages;
|
||||||
private boolean openLog;
|
private boolean openLog;
|
||||||
private String logLevel;
|
private String logLevel;
|
||||||
private boolean isPrintBanner = true;
|
private boolean banner = true;
|
||||||
}
|
}
|
||||||
@ -37,7 +37,7 @@ public class MilvusInit extends AbstractMilvusClientBuilder implements Lifecycle
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void maybePrintBanner(MilvusPropertiesConfiguration propertiesConfiguration) {
|
public void maybePrintBanner(MilvusPropertiesConfiguration propertiesConfiguration) {
|
||||||
if (propertiesConfiguration.isPrintBanner()) {
|
if (propertiesConfiguration.isBanner()) {
|
||||||
printBanner();
|
printBanner();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user