Skip to content

Conversation

@ImMin5
Copy link
Member

@ImMin5 ImMin5 commented May 21, 2025

Category

  • New feature
  • Bug fix
  • Improvement
  • Refactor
  • etc

Description

  • remove scope field when crate report policy

Known issue

@ImMin5 ImMin5 requested a review from Copilot May 21, 2025 07:24
@ImMin5 ImMin5 self-assigned this May 21, 2025
@ImMin5 ImMin5 added the enhancement New feature or request label May 21, 2025
@ImMin5 ImMin5 merged commit e55ee02 into cloudforet-io:master May 21, 2025
3 checks passed
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Removes the deprecated scope enum and field from CreateReportAdjustmentPolicyRequest and renumbers subsequent fields.

  • Drop Scope enum and scope field
  • Shift cost_report_config_id, order, description, tags, and policy_filter tags down by one
  • Missing declaration to reserve the old tag number
Comments suppressed due to low confidence (1)

proto/spaceone/api/cost_analysis/v1/report_adjustment_policy.proto:70

  • The semicolon after the opening brace is a syntax error. Remove the ; so the message declaration reads message CreateReportAdjustmentPolicyRequest {.
message CreateReportAdjustmentPolicyRequest {;

Comment on lines +71 to +73
string cost_report_config_id = 1;
// +optional
int32 order = 3;
int32 order = 2;
Copy link

Copilot AI May 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since scope previously occupied tag 1, add a reserved 1; (and optionally reserved "scope";) directive in the message to prevent reuse of that tag and maintain backward compatibility.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request pass/signedoff

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant