Skip to content

Commit 58ed97a

Browse files
authored
built information is now printed after CLI handling (#144)
1 parent 3d3def4 commit 58ed97a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

server/src/main.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,6 @@ const FIELD_MANAGER: &str = "kafka.stackable.tech";
1515
async fn main() -> Result<(), error::Error> {
1616
stackable_operator::logging::initialize_logging("KAFKA_OPERATOR_LOG");
1717

18-
stackable_operator::utils::print_startup_string(
19-
built_info::PKG_DESCRIPTION,
20-
built_info::PKG_VERSION,
21-
built_info::GIT_VERSION,
22-
built_info::TARGET,
23-
built_info::BUILT_TIME_UTC,
24-
built_info::RUSTC_VERSION,
25-
);
26-
2718
// Handle CLI arguments
2819
let matches = App::new(built_info::PKG_DESCRIPTION)
2920
.author("Stackable GmbH - info@stackable.de")
@@ -49,6 +40,15 @@ async fn main() -> Result<(), error::Error> {
4940
];
5041
let product_config_path = cli::handle_productconfig_arg(&matches, paths)?;
5142

43+
stackable_operator::utils::print_startup_string(
44+
built_info::PKG_DESCRIPTION,
45+
built_info::PKG_VERSION,
46+
built_info::GIT_VERSION,
47+
built_info::TARGET,
48+
built_info::BUILT_TIME_UTC,
49+
built_info::RUSTC_VERSION,
50+
);
51+
5252
let client = client::create_client(Some(FIELD_MANAGER.to_string())).await?;
5353

5454
if let Err(error) = stackable_operator::crd::wait_until_crds_present(

0 commit comments

Comments
 (0)