lol

Fix mistake in command execution parameter

Invoking cadvisor sent the command line parameter `-storage_driver_user` twice, once passing `cfg.storageDriverHost`. Fix the typo and pass the host config option to the command line parameter `-storage_driver_host`

authored by

Ben Collins and committed by
GitHub
dc9fc99c 670f5fd1

+1 -1
+1 -1
nixos/modules/services/monitoring/cadvisor.nix
··· 123 123 ${escapeShellArgs cfg.extraOptions} \ 124 124 ${optionalString (cfg.storageDriver != null) '' 125 125 -storage_driver "${cfg.storageDriver}" \ 126 - -storage_driver_user "${cfg.storageDriverHost}" \ 126 + -storage_driver_host "${cfg.storageDriverHost}" \ 127 127 -storage_driver_db "${cfg.storageDriverDb}" \ 128 128 -storage_driver_user "${cfg.storageDriverUser}" \ 129 129 -storage_driver_password "$(cat "${cfg.storageDriverPasswordFile}")" \