mirror of
https://github.com/Platonic-Systems/process-compose-flake.git
synced 2024-09-11 14:07:00 +03:00
Fix definiton of probe.exec
types.submodule defaults to assuming the contents are a config. When using liveness_probe.exec.command you get an error due to the exec submodule not being defined correctly.
This commit is contained in:
parent
ef453a6ce5
commit
5841c100ec
@ -37,7 +37,7 @@ in
|
||||
};
|
||||
exec = mkOption {
|
||||
type = types.nullOr (types.submodule {
|
||||
command = mkOption {
|
||||
options.command = mkOption {
|
||||
type = types.str;
|
||||
example = "ps -ef | grep -v grep | grep my-proccess";
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user