🐛 fix alone mode

This commit is contained in:
Max Lerebourg
2023-01-25 20:43:07 +01:00
parent 4132445a79
commit 80726df450
4 changed files with 50 additions and 4 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ func ValidateParams(config *Config) error {
}
if config.CrowdsecMode == AloneMode {
if _, err := GetVariable(config, "CrowdsecCapiMachineId"); err != nil {
if _, err := GetVariable(config, "CrowdsecCapiMachineID"); err != nil {
return err
}
if _, err := GetVariable(config, "CrowdsecCapiPassword"); err != nil {