This commit is contained in:
parent
79314a11b5
commit
4add037dc7
@ -289,9 +289,11 @@ auto app_config::get_json() const -> json {
|
||||
ret.erase("RetryReadCount");
|
||||
ret.erase("RingBufferFileSize");
|
||||
ret.erase("S3Config");
|
||||
ret.erase("SiaConfig");
|
||||
} else if (prov_ == provider_type::s3) {
|
||||
ret.erase("EncryptConfig");
|
||||
ret.erase("HostConfig");
|
||||
ret.erase("SiaConfig");
|
||||
} else if (prov_ == provider_type::sia) {
|
||||
ret.erase("EncryptConfig");
|
||||
ret.erase("S3Config");
|
||||
@ -314,6 +316,7 @@ auto app_config::get_json() const -> json {
|
||||
ret.erase("RetryReadCount");
|
||||
ret.erase("RingBufferFileSize");
|
||||
ret.erase("S3Config");
|
||||
ret.erase("SiaConfig");
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
Loading…
x
Reference in New Issue
Block a user