From 167d53a2eef1a7ca1cadbcbad8af20bffd12cfbb Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Mon, 9 Feb 2026 21:30:15 -0800 Subject: [PATCH] fmt --- weed/s3api/iceberg/iceberg.go | 4 ++-- weed/s3api/iceberg/iceberg_pagination_test.go | 1 - weed/server/volume_grpc_erasure_coding_test.go | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/weed/s3api/iceberg/iceberg.go b/weed/s3api/iceberg/iceberg.go index 81417034a..df7d84397 100644 --- a/weed/s3api/iceberg/iceberg.go +++ b/weed/s3api/iceberg/iceberg.go @@ -454,7 +454,7 @@ func (s *Server) handleListNamespaces(w http.ResponseWriter, r *http.Request) { result := ListNamespacesResponse{ NextPageToken: resp.ContinuationToken, - Namespaces: namespaces, + Namespaces: namespaces, } writeJSON(w, http.StatusOK, result) } @@ -696,7 +696,7 @@ func (s *Server) handleListTables(w http.ResponseWriter, r *http.Request) { result := ListTablesResponse{ NextPageToken: listResp.ContinuationToken, - Identifiers: identifiers, + Identifiers: identifiers, } writeJSON(w, http.StatusOK, result) } diff --git a/weed/s3api/iceberg/iceberg_pagination_test.go b/weed/s3api/iceberg/iceberg_pagination_test.go index 507770992..1cd190727 100644 --- a/weed/s3api/iceberg/iceberg_pagination_test.go +++ b/weed/s3api/iceberg/iceberg_pagination_test.go @@ -67,4 +67,3 @@ func TestParsePaginationRejectsInvalidPageSize(t *testing.T) { }) } } - diff --git a/weed/server/volume_grpc_erasure_coding_test.go b/weed/server/volume_grpc_erasure_coding_test.go index 9cce6c14e..dd82734b8 100644 --- a/weed/server/volume_grpc_erasure_coding_test.go +++ b/weed/server/volume_grpc_erasure_coding_test.go @@ -54,4 +54,3 @@ func TestCheckEcVolumeStatusCountOnlyDataShards(t *testing.T) { t.Fatalf("expected shardCount=3, got %d", shardCount) } } -