golangci-lint v2 #1362
Annotations
10 errors and 1 warning
|
build:
controllers/postgres_controller.go#L1291
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"podIP must not be empty\")" (err113)
|
|
build:
controllers/postgres_controller.go#L1264
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"no spilo pods found at all\")" (err113)
|
|
build:
controllers/postgres_controller.go#L1033
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"SourcePostgresID not configured\")" (err113)
|
|
build:
controllers/postgres_controller.go#L981
do not define dynamic errors, use wrapped static errors instead: "errors.New(\"connectionInfo.secretName not configured\")" (err113)
|
|
build:
controllers/postgres_controller.go#L936
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"error while fetching zalando postgresql: Not unique, got %d results\", len)" (err113)
|
|
build:
controllers/postgres_controller.go#L679
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"wal_g encryption key must be exactly 32 bytes, got %v\", len(k))" (err113)
|
|
build:
controllers/postgres_controller.go#L675
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"could not find key %v in secret %v/%v-%v\", walGEncryptionSecretKeyName, r.PostgresletNamespace, r.PostgresletFullname, walGEncryptionSecretNamePostfix)" (err113)
|
|
build:
controllers/postgres_controller.go#L519
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(msgWithFormat, err)" (err113)
|
|
build:
controllers/postgres_controller.go#L453
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"restore requested, but no source configured\")" (err113)
|
|
build:
controllers/postgres_controller.go#L330
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"could not fetch config for sidecars\")" (err113)
|
|
build
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-go@v5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|