Skip to content

Commit

Permalink
Remove redundant set -e
Browse files Browse the repository at this point in the history
  • Loading branch information
sbernauer committed May 31, 2023
1 parent 2765015 commit d171093
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/operator/src/container.rs
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,6 @@ impl ContainerConfig {
echo ""
done
set -e
if [ ! -f "{NAMENODE_ROOT_DATA_DIR}/current/VERSION" ]
then
if [ -z ${{ACTIVE_NAMENODE+x}} ]
Expand All @@ -529,7 +528,8 @@ impl ContainerConfig {
else
cat "{NAMENODE_ROOT_DATA_DIR}/current/VERSION"
echo "Pod $POD_NAME already formatted. Skipping..."
fi"###,
fi
"###,
get_service_state_command = Self::get_service_state_command(hdfs)?,
hadoop_home = Self::HADOOP_HOME,
pod_names = namenode_podrefs
Expand Down

0 comments on commit d171093

Please sign in to comment.