Browse Source

fmt

pull/8275/head
Chris Lu 1 day ago
parent
commit
167d53a2ee
  1. 4
      weed/s3api/iceberg/iceberg.go
  2. 1
      weed/s3api/iceberg/iceberg_pagination_test.go
  3. 1
      weed/server/volume_grpc_erasure_coding_test.go

4
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)
}

1
weed/s3api/iceberg/iceberg_pagination_test.go

@ -67,4 +67,3 @@ func TestParsePaginationRejectsInvalidPageSize(t *testing.T) {
})
}
}

1
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)
}
}
Loading…
Cancel
Save