Skip to content

Commit

Permalink
Merge pull request #429 from whdalsrnt/master
Browse files Browse the repository at this point in the history
fix: fix duplicate enum field
  • Loading branch information
whdalsrnt authored Sep 26, 2024
2 parents b1e351c + 58bfbb6 commit 4951637
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion proto/spaceone/api/dashboard/v1/public_dashboard.proto
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ service PublicDashboard{
}

enum DashboardScope {
DASHBOARD_SCOPE_NONE = 0;
SCOPE_NONE = 0;
WORKSPACE = 1;
PROJECT = 2;
}
Expand Down
13 changes: 4 additions & 9 deletions proto/spaceone/api/dashboard/v1/public_folder.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import "google/protobuf/empty.proto";
import "google/protobuf/struct.proto";
import "google/api/annotations.proto";
import "spaceone/api/core/v2/query.proto";
import "spaceone/api/dashboard/v1/public_dashboard.proto";

service PublicFolder{

Expand Down Expand Up @@ -69,12 +70,6 @@ service PublicFolder{
}
}

enum FolderScope {
FOLDER_SCOPE_NONE = 0;
WORKSPACE = 1;
PROJECT = 2;
}

message CreatePublicFolderRequest {
enum ResourceGroup {
RESOURCE_GROUP_NONE = 0;
Expand Down Expand Up @@ -107,7 +102,7 @@ message UpdatePublicFolderRequest {
message SharePublicFolderRequest {
string dashboard_id = 1;
// +optional
FolderScope scope = 2;
DashboardScope scope = 2;
}

message PublicFolderRequest {
Expand All @@ -124,7 +119,7 @@ message PublicFolderQuery {
// +optional
bool shared = 4;
// +optional
FolderScope scope = 5;
DashboardScope scope = 5;
// +optional
string workspace_id = 21;
// +optional
Expand All @@ -144,7 +139,7 @@ message PublicFolderInfo {
google.protobuf.Struct tags = 3;

bool shared = 18;
FolderScope scope = 19;
DashboardScope scope = 19;

ResourceGroup resource_group = 20;
string domain_id = 21;
Expand Down

0 comments on commit 4951637

Please sign in to comment.