-
Notifications
You must be signed in to change notification settings - Fork 61
K8SPG 741 Merge upstream changes for 2.7.0 #1094
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
0aa9c09
to
473e93d
Compare
internal/bridge/client.go
Outdated
if err != nil { | ||
return result, err | ||
} | ||
clusterbyte, _ := json.Marshal(clusterRequestPayload) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
interesting, i wonder why upstream decided to ignore the error
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
reverted this
@@ -13,7 +13,7 @@ import ( | |||
. "github.com/onsi/ginkgo/v2" | |||
. "github.com/onsi/gomega" | |||
. "github.com/onsi/gomega/gstruct" | |||
"github.com/pkg/errors" | |||
"github.com/pkg/errors" //nolint:depguard // This legacy test covers so much code, it logs the origin of unexpected errors. | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[goimports-reviser] reported by reviewdog 🐶
4ec68cc
to
bfe72f4
Compare
Issue: PGO-614
This test duplicates what's in the main e2e folder.
This version of controller-gen ignores "validation:Required" markers when the struct tag has "json:omitempty". Issue: PGO-1748
Issue: PGO-738 Issue: PGO-1829
For some reason, this was originally created without PGO listed as the manager for the configmap used by upgrade check.
These are specific to Postgres. Add tests and remove unused functions.
This is part of the "bugs" preset of golangci-lint. The "check-error-free-encoding" setting is recommended upstream.
These are ignored by golangci-lint by default.
Subtle bugs can arise when mixing the two. A type is more coherent when it behaves as only one of (1) a value or (2) a reference. A new linter identifies this situation but does not yet account for unmarshal methods on value types. See: https://go.dev/wiki/CodeReviewComments#receiver-type See: https://go.dev/wiki/MethodSets
The default unstructured converter does not complain if you try to convert a list to an object or vice versa. It also expects to be called with an empty target object.
The --jobs flag allows for some aspects of pg_upgrade to operate in parallel. The documentation says: This option can dramatically reduce the time to upgrade a multi-database server running on a multiprocessor machine. Issue: PGO-1958 See: https://www.postgresql.org/docs/current/pgupgrade.html
https://github.com/CrunchyData/postgres-operator/compare/bdcb7eb9b50bd01f1674fc2f6ffdd022bd9058d5..072a19d31465d99963b52205885cd8e01c747f3a
We skipped these:
func getPGPVCName(l
changes and it is not issusing any more an error that we need cause we comment out the actually used error already)CHANGE DESCRIPTION
Problem:
Short explanation of the problem.
Cause:
Short explanation of the root cause of the issue if applicable.
Solution:
Short explanation of the solution we are providing with this PR.
CHECKLIST
Jira
Needs Doc
) and QA (Needs QA
)?Tests
Config/Logging/Testability