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