File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
pkg/cluster/environment/bean Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 66)
77
88type EphemeralContainerRequest struct {
9- BasicData * EphemeralContainerBasicData `json:"basicData" validate:"required" `
9+ BasicData * EphemeralContainerBasicData `json:"basicData"`
1010 AdvancedData * EphemeralContainerAdvancedData `json:"advancedData"`
1111 Namespace string `json:"namespace" validate:"required"`
1212 ClusterId int `json:"clusterId" validate:"gt=0"`
@@ -23,8 +23,8 @@ type EphemeralContainerAdvancedData struct {
2323
2424type EphemeralContainerBasicData struct {
2525 ContainerName string `json:"containerName" validate:"required"`
26- TargetContainerName string `json:"targetContainerName" validate:"required" `
27- Image string `json:"image" validate:"required" `
26+ TargetContainerName string `json:"targetContainerName"`
27+ Image string `json:"image"`
2828}
2929
3030func (request EphemeralContainerRequest ) GetContainerBean () repository.EphemeralContainerBean {
You can’t perform that action at this time.
0 commit comments