Skip to content

Commit

Permalink
fix: add suggestions on description and option name for osqueryFlag
Browse files Browse the repository at this point in the history
Helped-by: Rebecca Mahany-Horton <[email protected]>
  • Loading branch information
f4z3r committed Oct 2, 2024
1 parent 3a3e6ff commit 287f96e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/kolide-launcher/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,11 @@ in
'';
};

osQueryFlags = mkOption {
osqueryFlags = mkOption {
type = types.listOf types.str;
default = [];
description = ''
OsQuery flags to pass via the agent.
Flags to pass to osquery (possibly overriding Launcher defaults).
'';
};

Expand Down Expand Up @@ -135,7 +135,7 @@ in
++ optional cfg.insecureTransport "--insecure_transport"
++ optional cfg.insecureTLS "--insecure"
++ optional (!builtins.isNull cfg.localdevPath) "--localdev_path ${cfg.localdevPath}"
++ map (x: "--osquery_flag ${x}") cfg.osQueryFlags
++ map (x: "--osquery_flag ${x}") cfg.osqueryFlags
);
Restart = "on-failure";
RestartSec = 3;
Expand Down

0 comments on commit 287f96e

Please sign in to comment.