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
569 B

Index: src/github.com/lrstanley/vault-unseal/main.go
--- src/github.com/lrstanley/vault-unseal/main.go.orig 2019-04-24 09:25:20.000000000 +0200
+++ src/github.com/lrstanley/vault-unseal/main.go 2019-04-24 13:51:04.482154000 +0200
@@ -179,8 +179,8 @@
conf.MaxCheckInterval = conf.CheckInterval * time.Duration(2)
}
- if len(conf.Nodes) < 3 {
- logger.Fatal("error: not enough nodes in node list (must have at least 3!)")
+ if len(conf.Nodes) < 1 {
+ logger.Fatal("error: not enough nodes in node list (must have at least 1!)")
}
if len(conf.Tokens) < 1 {