Skip to content

Commit 1b1d2f1

Browse files
committed
fix pre-commit
1 parent e719b20 commit 1b1d2f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rust/operator-binary/src/container.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ impl ContainerConfig {
696696
# We only redirect 2 (stderr) to 4 (console).
697697
# We leave 1 (stdout) alone so the $(...) can catch it.
698698
SERVICE_STATE=$({hadoop_home}/bin/hdfs haadmin -getServiceState "$namenode_id" 2>&4 | tail -n1 || true)
699-
699+
700700
if [ "$SERVICE_STATE" == "active" ]
701701
then
702702
ACTIVE_NAMENODE="$namenode_id"

0 commit comments

Comments
 (0)