fix(store): 新 pod 首次连库在网络策略放行前重试
This commit is contained in:
7 files changed
+312
-8
No files matched your search
+1
-1
@@ -100,7 +100,7 @@ func cmdAPI(args []string, stdout, stderr io.Writer) int {
|
||||
|
||||
// Before anything serves: an api on a schema it was not built for answers with
|
||||
// errors, or writes rows the other version cannot read.
|
||||
drv, err := openStore(ctx, cfg.Database.URL, false)
|
||||
drv, err := openPodStore(ctx, cfg.Database.URL, "api", stderr)
|
||||
if err != nil {
|
||||
fmt.Fprintf(stderr, "felis api: open database: %v\n", err)
|
||||
return 1
|
||||
|
||||
Reference in new issue
Block a user