We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dd1006 commit 5c76091Copy full SHA for 5c76091
1 file changed
crates/base/src/config.rs
@@ -51,6 +51,11 @@ pub struct AdapterConfig {
51
///
52
/// If true the Adapter will expose a grpc health service server.
53
pub with_health_service: bool,
54
+
55
+ /// Variant
56
+ ///
57
+ /// The Variant of Draco. E.g. Http, Cron...
58
+ pub draco_variant: String,
59
}
60
61
impl AdapterConfig {
@@ -79,6 +84,8 @@ impl AdapterConfig {
79
84
let with_health_service =
80
85
code0_flow::flow_config::env_with_default("WITH_HEALTH_SERVICE", false);
81
86
87
+ let draco_variant =
88
+ code0_flow::flow_config::env_with_default("DRACO_VARIANT", String::from("None"));
82
89
Self {
83
90
environment,
91
nats_bucket,
@@ -89,6 +96,7 @@ impl AdapterConfig {
96
aquila_url,
97
definition_path,
98
with_health_service,
99
+ draco_variant,
92
100
93
101
94
102
0 commit comments