Skip to content

Commit

Permalink
🔥 Remove Change from Capsule/rollout types (#1257)
Browse files Browse the repository at this point in the history
  • Loading branch information
andersjohnsen authored Oct 2, 2024
1 parent 9ccca24 commit 0243b13
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions docs/docs/api/platform-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -4440,7 +4440,6 @@ The actual log message
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| spec | [platform.v1.Capsule](#platform-v1-Capsule) | | |
| changes | [Change](#api-v1-capsule-Change) | repeated | |
| metadata | [model.ProposalMetadata](#model-ProposalMetadata) | | |


Expand All @@ -4458,7 +4457,6 @@ The actual log message
| ----- | ---- | ----- | ----------- |
| spec | [platform.v1.Capsule](#platform-v1-Capsule) | | |
| metadata | [model.RevisionMetadata](#model-RevisionMetadata) | | |
| changes | [Change](#api-v1-capsule-Change) | repeated | |
| message | [string](#string) | | |


Expand All @@ -4475,7 +4473,6 @@ The actual log message
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| spec | [platform.v1.CapsuleSet](#platform-v1-CapsuleSet) | | |
| changes | [Change](#api-v1-capsule-Change) | repeated | |
| metadata | [model.ProposalMetadata](#model-ProposalMetadata) | | |


Expand Down Expand Up @@ -4970,7 +4967,6 @@ The rollout model.
| ----- | ---- | ----- | ----------- |
| created_by | [model.Author](#model-Author) | | The user who initiated the rollout. |
| created_at | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | |
| changes | [Change](#api-v1-capsule-Change) | repeated | |
| replicas | [uint32](#uint32) | | |
| image_id | [string](#string) | | |
| network | [Network](#api-v1-capsule-Network) | | |
Expand Down
4 changes: 0 additions & 4 deletions proto/rig/api/v1/capsule/revision.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ package api.v1.capsule;

import "model/revision.proto";
import "platform/v1/generated.proto";
import "api/v1/capsule/change.proto";

message SetRevision {
platform.v1.CapsuleSet spec = 1;
Expand All @@ -14,18 +13,15 @@ message SetRevision {
message Revision {
platform.v1.Capsule spec = 1;
model.RevisionMetadata metadata = 2;
repeated api.v1.capsule.Change changes = 3;
string message = 4;
}

message Proposal {
platform.v1.Capsule spec = 1;
repeated Change changes = 2;
model.ProposalMetadata metadata = 3;
}

message SetProposal {
platform.v1.CapsuleSet spec = 1;
repeated Change changes = 2;
model.ProposalMetadata metadata = 3;
}
1 change: 0 additions & 1 deletion proto/rig/api/v1/capsule/rollout.proto
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ message RolloutConfig {
// The user who initiated the rollout.
model.Author created_by = 1;
google.protobuf.Timestamp created_at = 2;
repeated Change changes = 3;
uint32 replicas = 4;
string image_id = 5;
Network network = 6;
Expand Down

0 comments on commit 0243b13

Please sign in to comment.