salt-pillar: remove decryptMessage trace

This commit is contained in:
Astro 2021-03-20 00:06:04 +01:00
parent 3923b5fecd
commit 99edf9fe53
1 changed files with 2 additions and 3 deletions

View File

@ -6,8 +6,7 @@ with pkgs.lib;
let let
loadYaml = import ./load-yaml.nix { inherit pkgs; }; loadYaml = import ./load-yaml.nix { inherit pkgs; };
decryptMessage = builtins.trace gpgKey decryptMessage = x:
(x:
if gpgKey == null if gpgKey == null
then "encrypted" then "encrypted"
else else
@ -21,7 +20,7 @@ let
${x} ${x}
EOF EOF
'' ''
)); );
decrypt = x: decrypt = x:
if builtins.isString x if builtins.isString x