We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b81e4f commit aa48d2bCopy full SHA for aa48d2b
pkg/vault-handler/config.go
@@ -30,9 +30,6 @@ func (c *Config) Validate() error {
30
if c.VaultToken != "" && (c.VaultRoleID != "" || c.VaultSecretID != "") {
31
return fmt.Errorf("vault-token can't be used in combination with role-id or secret-id")
32
}
33
- if c.InputDir == "" && c.OutputDir == "" {
34
- return fmt.Errorf("both input-dir and output-dir are empty")
35
- }
36
if c.InputDir != "" && !isDir(c.InputDir) {
37
return fmt.Errorf("input-dir '%s' is not found", c.InputDir)
38
0 commit comments