Closed flemzord closed 2 months ago
The pull request primarily consists of cosmetic formatting changes across multiple files in the codebase. These changes include adjustments to comment alignment, spacing, and organization of import statements. No alterations to the functionality or logic of the code were made, ensuring that the underlying behavior remains unchanged.
File Path | Change Summary |
---|---|
components/operator/api/formance.com/v1beta1/auth_types.go , database_types.go , ledger_types.go , resourcereference_types.go , settings_types.go , stack_types.go |
Formatting changes to comments and struct fields for improved readability. |
components/operator/api/stack.formance.com/v1beta3/stack_types.go , components/operator/internal/core/reconciler.go , components/operator/internal/resources/auths/deployment.go , components/operator/internal/resources/benthos/controller.go , components/operator/internal/resources/brokerconsumers/controller.go , components/operator/internal/resources/brokers/reconcile.go , components/operator/internal/resources/brokers/utils.go , components/operator/internal/resources/brokers/watch.go , components/operator/internal/resources/caddy/caddy.go , components/operator/internal/resources/databases/env.go , components/operator/internal/resources/gateways/Caddyfile.gotpl , components/operator/internal/resources/ledgers/init.go , components/operator/internal/resources/orchestrations/deployments.go , components/operator/internal/resources/searches/init.go , components/operator/internal/resources/webhooks/deployment.go , components/operator/internal/tests/database_controller_test.go , components/operator/internal/tests/gateway_controller_test.go , components/operator/internal/tests/orchestration_controller_test.go |
Minor modifications in import statements, including reordering and adding blank lines for better readability. |
components/operator/internal/resources/gateways/Caddyfile.gotpl |
Added header_up Host {upstream_hostport} in reverse_proxy configuration for services. |
auth_types.go
involve adding detailed comments to struct fields, which aligns with the cosmetic formatting changes made in the main PR regarding comment alignment and readability.auth_types.go
and other files related to documentation and comments reflect a similar focus on improving code readability and documentation, akin to the formatting changes in the main PR.ee/orchestration
, components/operator
In the code where rabbits play,
Formatting changes brighten the day.
Comments aligned, imports in line,
Readability's boost, oh how divine!
With each little hop, the code feels right,
A tidy burrow, a coder's delight! 🐇✨
[!TIP]
OpenAI O1 model for chat
- We have deployed OpenAI's latest O1 model for chat. - OpenAI claims that this model has superior reasoning capabilities than their GPT-4o model. - Please share any feedback with us in the [discussions post](https://discord.com/channels/1134356397673414807/1283929536186155099).
components/operator/docs/09-Configuration reference/02-Custom Resource Definitions.md
171-171: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 177-177: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 178-178: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 179-179: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 180-180: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 202-202: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 208-208: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 209-209: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 210-210: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 211-211: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 224-224: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 230-230: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 231-231: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 232-232: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 233-233: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 262-262: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 268-268: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 269-269: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 270-270: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 271-271: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 288-288: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 289-289: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 290-290: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 291-291: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 292-292: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 313-313: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 319-319: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 320-320: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 321-321: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 322-322: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 754-754: Expected: 0; Actual: 2 Unordered list indentation (MD007, ul-indent) --- 755-755: Expected: 0; Actual: 2 Unordered list indentation (MD007, ul-indent) --- 2413-2413: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2414-2414: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2415-2415: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2416-2416: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2417-2417: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2418-2418: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2419-2419: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2420-2420: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2426-2426: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2427-2427: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2428-2428: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2429-2429: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2430-2430: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2431-2431: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2437-2437: Column: 1 Hard tabs (MD010, no-hard-tabs)
components/operator/docs/09-Configuration reference/02-Custom Resource Definitions.md
[grammar] ~756-~756: “Operator” is a singular noun. It appears that the verb form is incorrect. Context: ... mode. Under the hood, the operator create two deployments and force the scaling o... (PCT_SINGULAR_NOUN_PLURAL_VERB_AGREEMENT)
components/operator/docs/09-Configuration reference/02-Custom Resource Definitions.md (1)
Line range hint `169-2439`: **LGTM!** The formatting changes to the YAML code blocks in the documentation enhance readability and maintain consistency. The adjustments to indentation and spacing do not alter the underlying functionality or correctness of the settings described. Great job on improving the documentation!Tools
Markdownlint
2413-2413: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2414-2414: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2415-2415: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2416-2416: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2417-2417: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2418-2418: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2419-2419: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2420-2420: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2426-2426: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2427-2427: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2428-2428: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2429-2429: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2430-2430: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2431-2431: Column: 1 Hard tabs (MD010, no-hard-tabs) --- 2437-2437: Column: 1 Hard tabs (MD010, no-hard-tabs)
Add
header_up Host {upstream_hostport}
to reverse_proxy directives in Caddyfile templates to ensure correct Host header is passed to upstream services.