Skip to content

Commit

Permalink
fix(pops.hive): meta check
Browse files Browse the repository at this point in the history
  • Loading branch information
GTrunSec committed Apr 26, 2024
1 parent 6707bdc commit b52cb0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hive/collectors/walk.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ let
hostName: hostConfig:
pipe hostConfig (
l.optionals
(hostConfig ? ${renamer} || (hostConfig ? meta && hostConfig.meta.${renamer}))
(hostConfig ? ${renamer} || (hostConfig ? meta && hostConfig.meta ? ${renamer}))
(
[
(hostConfig: hostConfig.${renamer} or hostConfig.meta.${renamer})
Expand All @@ -28,7 +28,7 @@ let
++ extraPipe
)
++ l.optionals (
!hostConfig ? ${renamer} && !(hostConfig ? meta && hostConfig.meta.${renamer})
!hostConfig ? ${renamer} && !(hostConfig ? meta && hostConfig.meta ? ${renamer})
) [ (_: { }) ]
)
) hosts;
Expand Down

0 comments on commit b52cb0e

Please sign in to comment.