File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
crates/apollo_gateway/src Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -330,10 +330,12 @@ pub fn create_gateway(
330330
331331 // Create proof archive writer: use NoOp if bucket name is empty, otherwise use real GCS.
332332 let proof_archive_writer: Arc < dyn ProofArchiveWriterTrait > =
333- if config. proof_archive_writer_config . bucket_name . is_empty ( ) {
333+ if config. static_config . proof_archive_writer_config . bucket_name . is_empty ( ) {
334334 Arc :: new ( NoOpProofArchiveWriter )
335335 } else {
336- Arc :: new ( GcsProofArchiveWriter :: new ( config. proof_archive_writer_config . clone ( ) ) )
336+ Arc :: new ( GcsProofArchiveWriter :: new (
337+ config. static_config . proof_archive_writer_config . clone ( ) ,
338+ ) )
337339 } ;
338340
339341 Gateway :: new (
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ use apollo_config::dumping::SerializeConfig;
66use apollo_config:: loading:: load_and_process_config;
77use apollo_gateway_config:: config:: {
88 GatewayConfig ,
9- ProofArchiveWriterConfig ,
109 GatewayStaticConfig ,
10+ ProofArchiveWriterConfig ,
1111 StatefulTransactionValidatorConfig ,
1212 StatelessTransactionValidatorConfig ,
1313} ;
You can’t perform that action at this time.
0 commit comments