Skip to content

Commit 8a0f5bf

Browse files
committed
Fix formatting and indentation in authorization files
1 parent 94a355c commit 8a0f5bf

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/include/storage/iceberg_authorization.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ struct IcebergAuthorization {
3939

4040
public:
4141
static IcebergAuthorizationType TypeFromString(const string &type);
42-
42+
4343
static void ParseExtraHttpHeaders(const Value &headers_value, unordered_map<string, string> &out_headers);
4444

4545
public:

src/storage/authorization/oauth2.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ unique_ptr<OAuth2Authorization> OAuth2Authorization::FromAttachOptions(ClientCon
161161

162162
// Parse extra_http_headers from secret if present
163163
IcebergAuthorization::ParseExtraHttpHeaders(kv_iceberg_secret.TryGetValue("extra_http_headers"),
164-
result->extra_http_headers);
164+
result->extra_http_headers);
165165
} else {
166166
if (!secret.empty()) {
167167
set<string> option_names;
@@ -183,7 +183,7 @@ unique_ptr<OAuth2Authorization> OAuth2Authorization::FromAttachOptions(ClientCon
183183

184184
// Parse extra_http_headers from inline options if present
185185
IcebergAuthorization::ParseExtraHttpHeaders(kv_iceberg_secret.TryGetValue("extra_http_headers"),
186-
result->extra_http_headers);
186+
result->extra_http_headers);
187187
}
188188

189189
if (token.IsNull()) {

src/storage/iceberg_authorization.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ IcebergAuthorizationType IcebergAuthorization::TypeFromString(const string &type
2525
StringUtil::Join(accepted_options, ", "));
2626
}
2727

28-
void IcebergAuthorization::ParseExtraHttpHeaders(const Value &headers_value, unordered_map<string, string> &out_headers) {
28+
void IcebergAuthorization::ParseExtraHttpHeaders(const Value &headers_value,
29+
unordered_map<string, string> &out_headers) {
2930
if (headers_value.IsNull() || headers_value.type().id() != LogicalTypeId::MAP) {
3031
return;
3132
}

0 commit comments

Comments
 (0)