File tree Expand file tree Collapse file tree 4 files changed +9
-9
lines changed
stackable-cockpit/src/platform Expand file tree Collapse file tree 4 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,12 @@ use stackable_operator::kvp::Labels;
44use crate :: platform:: operator:: ChartSourceType ;
55
66pub struct DemoInstallParameters {
7- /// Name of the demo, which is always present
8- pub demo_name : String ,
9-
107 /// Name of the stack, which is always present, as a demo builds on top of a stack
118 pub stack_name : String ,
129
10+ /// Name of the demo, which is always present
11+ pub demo_name : String ,
12+
1313 pub operator_namespace : String ,
1414 pub demo_namespace : String ,
1515
Original file line number Diff line number Diff line change @@ -204,8 +204,8 @@ impl DemoSpec {
204204 & self . manifests ,
205205 & params,
206206 & install_params. demo_namespace ,
207- & install_params. demo_name ,
208- Some ( & install_params. stack_name ) ,
207+ & install_params. stack_name ,
208+ Some ( & install_params. demo_name ) ,
209209 install_params. labels ,
210210 client,
211211 transfer_client,
Original file line number Diff line number Diff line change @@ -5,13 +5,13 @@ use crate::platform::operator::ChartSourceType;
55
66#[ derive( Debug ) ]
77pub struct StackInstallParameters {
8+ /// Name of the stack, which is always present
9+ pub stack_name : String ,
10+
811 /// Optional name of the demo, which is only present in case this stack is installed as part of
912 /// a demo. This is unset in case a stack is installed directly.
1013 pub demo_name : Option < String > ,
1114
12- /// Name of the stack, which is always present
13- pub stack_name : String ,
14-
1515 pub operator_namespace : String ,
1616 pub stack_namespace : String ,
1717
Original file line number Diff line number Diff line change @@ -388,8 +388,8 @@ async fn install_cmd(
388388 . context ( LoadOperatorValuesSnafu ) ?;
389389
390390 let install_parameters = DemoInstallParameters {
391- demo_name : args. demo_name . clone ( ) ,
392391 stack_name : demo. stack . clone ( ) ,
392+ demo_name : args. demo_name . clone ( ) ,
393393 operator_namespace : args. namespaces . operator_namespace . clone ( ) ,
394394 demo_namespace : args. namespaces . namespace . clone ( ) ,
395395 stack_parameters : args. stack_parameters . clone ( ) ,
You can’t perform that action at this time.
0 commit comments