调整客户端获取方式
This commit is contained in:
@@ -93,12 +93,11 @@ public class HuaweiObsProperties implements InitializingBean {
|
||||
*/
|
||||
@Override
|
||||
public void afterPropertiesSet() {
|
||||
Assert.hasText(accessKey, "华为云accessKey信息必填!!");
|
||||
Assert.hasText(securityKey, "华为云securityKey信息必填!!");
|
||||
Assert.notNull(getObs(),"obs相关信息必填!!");
|
||||
Assert.hasText(getObs().bucket, "obs桶信息必填!!");
|
||||
Assert.hasText(getObs().endpoint, "obs终端节点访问路径必填!!");
|
||||
Assert.notNull(getObs().expire, "obs_url生命周期必填!!");
|
||||
Assert.hasText(accessKey, "huawei-accessKey undefined!!");
|
||||
Assert.hasText(securityKey, "huawei-securityKey undefined!!");
|
||||
Assert.hasText(getObs().bucket, "obs bucket undefined!!");
|
||||
Assert.hasText(getObs().endpoint, "obs endpoint undefined!!");
|
||||
Assert.notNull(getObs().expire, "obs expire undefined!!");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user