Skip to content

Commit

Permalink
setup fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Razz4780 committed Sep 30, 2024
1 parent 28f5abd commit 0341fca
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions mirrord/operator/src/setup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,10 @@ impl OperatorSetup for Operator {
writer.write_all(b"---\n")?;
MirrordPolicy::crd().to_writer(&mut writer)?;

if self.sqs_splitting || self.kafka_splitting {
if self.sqs_splitting {
writer.write_all(b"---\n")?;
MirrordWorkloadQueueRegistry::crd().to_writer(&mut writer)?;
}

if self.sqs_splitting {
writer.write_all(b"---\n")?;
MirrordSqsSession::crd().to_writer(&mut writer)?;
}
Expand All @@ -230,6 +228,9 @@ impl OperatorSetup for Operator {

writer.write_all(b"---\n")?;
MirrordKafkaTemporaryTopic::crd().to_writer(&mut writer)?;

writer.write_all(b"---\n")?;
MirrordKafkaTopicsConsumer::crd().to_writer(&mut writer)?;
}

Ok(())
Expand Down

0 comments on commit 0341fca

Please sign in to comment.