moomman commented on code in PR #303:
URL: 
https://github.com/apache/shardingsphere-on-cloud/pull/303#discussion_r1165194590


##########
shardingsphere-operator/api/v1alpha1/shardingsphere_chaos_types.go:
##########
@@ -34,14 +36,201 @@ type ShardingSphereChaosList struct {
 type ShardingSphereChaos struct {
        metav1.TypeMeta   `json:",inline"`
        metav1.ObjectMeta `json:"metadata,omitempty"`
+       Spec              ShardingSphereChaosSpec   `json:"spec,omitempty"`
+       Status            ShardingSphereChaosStatus `json:"status,omitempty"`
+}
 
-       Spec ShardingSphereChaosSpec `json:"spec,omitempty"`
+// ShardingSphereChaosSpec defines the desired state of ShardingSphereChaos
+type ShardingSphereChaosSpec struct {
+       InjectJob  JobSpec   `json:"injectJob,omitempty"`
+       ChaosKind  ChaosKind `json:"chaosKind,omitempty"`

Review Comment:
   solved



-- 
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