Skip to content

Commit d4473d3

Browse files
committed
added PeerTypes for PubSub and ES
1 parent 178a84c commit d4473d3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/ast/mod.rs

+4
Original file line numberDiff line numberDiff line change
@@ -2376,6 +2376,8 @@ pub enum PeerType {
23762376
SQLServer,
23772377
Kafka,
23782378
Eventhubs,
2379+
PubSub,
2380+
Elasticsearch,
23792381
}
23802382

23812383
impl fmt::Display for PeerType {
@@ -2389,6 +2391,8 @@ impl fmt::Display for PeerType {
23892391
PeerType::SQLServer => write!(f, "SQLSERVER"),
23902392
PeerType::Kafka => write!(f, "KAFKA"),
23912393
PeerType::Eventhubs => write!(f, "EVENTHUBS"),
2394+
PeerType::PubSub => write!(f, "PUBSUB"),
2395+
PeerType::Elasticsearch => write!(f, "ELASTICSEARCH"),
23922396
}
23932397
}
23942398
}

0 commit comments

Comments
 (0)