deployerbot: style nits

This commit is contained in:
Motiejus Jakštys 2024-02-26 13:56:05 +02:00
parent 7f977e6879
commit c1ab3084f5
1 changed files with 2 additions and 2 deletions

View File

@ -88,7 +88,7 @@
fi
# Optional deployments
${lib.concatLines (map (t: ''
${lib.concatMapStringsSep "\n" (t: ''
if ${pkgs.inetutils}/bin/ping -c 1 ${t.pingTarget}; then
${pkgs.deploy-rs.deploy-rs}/bin/deploy \
--ssh-opts="-i ''${CREDENTIALS_DIRECTORY}/ssh-key" \
@ -99,7 +99,7 @@
--accept-flake-config || EXITCODE=1
fi
'')
cfg.deployIfPresent)}
cfg.deployIfPresent}
exit $EXITCODE
'';