Skip to content

Commit

Permalink
fix: Upload configuration file
Browse files Browse the repository at this point in the history
  • Loading branch information
dploeger committed May 6, 2022
1 parent 60f6a90 commit c486657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container/manage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ do
exit 1
fi
else
if ! OUTPUT=$(kubectl node-shell "${NODE}" -- cat > /etc/scalyr-agent-2/agent.d <"${TEMPDIR}/${CONFIGFILE}" 2>&1)
if ! OUTPUT=$(kubectl node-shell "${NODE}" -- cat > "/etc/scalyr-agent-2/agent.d/${CONFIGFILE}" <"${TEMPDIR}/${CONFIGFILE}" 2>&1)
then
echo -e "Can't copy configuration:\n ${OUTPUT}"
exit 1
Expand Down

0 comments on commit c486657

Please sign in to comment.