You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
565 B
14 lines
565 B
Index: src/github.com/lrstanley/vault-unseal/main.go |
|
--- src/github.com/lrstanley/vault-unseal/main.go.orig 2020-12-21 11:19:34.894594000 +0100 |
|
+++ src/github.com/lrstanley/vault-unseal/main.go 2020-12-21 11:21:37.504390000 +0100 |
|
@@ -223,8 +223,8 @@ |
|
conf.MaxCheckInterval = conf.CheckInterval * time.Duration(2) |
|
} |
|
|
|
- if len(conf.Nodes) < 3 { |
|
- return errors.New("not enough nodes in node list (must have at least 3!)") |
|
+ if len(conf.Nodes) < 1 { |
|
+ return errors.New("not enough nodes in node list (must have at least 1!)") |
|
} |
|
|
|
if len(conf.Tokens) < 1 {
|
|
|