File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -51,6 +51,11 @@ pub struct AdapterConfig {
5151 ///
5252 /// If true the Adapter will expose a grpc health service server.
5353 pub with_health_service : bool ,
54+
55+ /// Variant
56+ ///
57+ /// The Variant of Draco. E.g. Http, Cron...
58+ pub draco_variant : String ,
5459}
5560
5661impl AdapterConfig {
@@ -79,6 +84,8 @@ impl AdapterConfig {
7984 let with_health_service =
8085 code0_flow:: flow_config:: env_with_default ( "WITH_HEALTH_SERVICE" , false ) ;
8186
87+ let draco_variant =
88+ code0_flow:: flow_config:: env_with_default ( "DRACO_VARIANT" , String :: from ( "None" ) ) ;
8289 Self {
8390 environment,
8491 nats_bucket,
@@ -89,6 +96,7 @@ impl AdapterConfig {
8996 aquila_url,
9097 definition_path,
9198 with_health_service,
99+ draco_variant,
92100 }
93101 }
94102
You can’t perform that action at this time.
0 commit comments