Skip to content

Commit a177035

Browse files
committed
fix cr
1 parent e538d72 commit a177035

File tree

3 files changed

+55
-55
lines changed

3 files changed

+55
-55
lines changed

pkg/plugin/proto/v1alpha1/rollout.pb.go

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/plugin/proto/v1alpha1/rollout.proto

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ service RolloutPluginService {
2727
// The plugin can execute the rollout logic based on the feedback status changes.
2828
rpc ProgressRollout(RolloutPluginRequest) returns (google.protobuf.Empty);
2929

30-
// ValidateRollout is called to validate the completion of the rollout.
30+
// ValidateRolloutCompletion is called to validate the completion of the rollout.
3131
// It is used to check if the rollout is completed successfully.
32-
// If the validation is completed successfully, the plugin should return a OK result.
32+
// If the validation is completed successfully, the plugin should return a SUCCEEDED result.
3333
// If the validation is still in progress, the plugin should return a INPROGRESS result.
3434
// If the validation is failed, the plugin should return a FAILED result.
35-
rpc ValidateRollout(RolloutPluginRequest) returns (ValidateResponse);
35+
rpc ValidateRolloutCompletion(RolloutPluginRequest) returns (ValidateResponse);
3636

3737
// BeginRollback is called before the manifestwork resource is rolled back.
3838
// It is used to prepare the rollback.
@@ -43,12 +43,12 @@ service RolloutPluginService {
4343
// The plugin can execute the rollback logic based on the feedback status changes.
4444
rpc ProgressRollback(RolloutPluginRequest) returns (google.protobuf.Empty);
4545

46-
// ValidateRollback is called to validate the completion of the rollback.
46+
// ValidateRollbackCompletion is called to validate the completion of the rollback.
4747
// It is used to check if the rollback is completed successfully.
48-
// If the validation is completed successfully, the plugin should return a OK result.
48+
// If the validation is completed successfully, the plugin should return a SUCCEEDED result.
4949
// If the validation is still in progress, the plugin should return a INPROGRESS result.
5050
// If the validation is failed, the plugin should return a FAILED result.
51-
rpc ValidateRollback(RolloutPluginRequest) returns (ValidateResponse);
51+
rpc ValidateRollbackCompletion(RolloutPluginRequest) returns (ValidateResponse);
5252

5353
// MutateManifestWork is called to mutate the manifestwork resource before it is applied or rolled back.
5454
// MWRS controller provides the current rollout status to the plugin.

0 commit comments

Comments
 (0)