mlycore commented on code in PR #286:
URL: 
https://github.com/apache/shardingsphere-on-cloud/pull/286#discussion_r1152797698


##########
shardingsphere-operator/api/v1alpha1/shardingsphere_chaos_types.go:
##########
@@ -36,12 +40,475 @@ type ShardingSphereChaos struct {
        metav1.ObjectMeta `json:"metadata,omitempty"`
 
        Spec ShardingSphereChaosSpec `json:"spec,omitempty"`
-       // +optional
+
        Status ShardingSphereChaosStatus `json:"status,omitempty"`
 }
 
 // ShardingSphereChaosSpec defines the desired state of ShardingSphereChaos
-type ShardingSphereChaosSpec struct{}
+type ShardingSphereChaosSpec struct {
+       InjectReqs batchV1Beta1.JobTemplateSpec `json:"injectReqs,omitempty"`

Review Comment:
   Consider update this name to InjectRequest or InjectJob?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to