This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user