Skip to content

Commit 3fe70f9

Browse files
authored
Merge pull request #6864 from devtron-labs/packet-fixes-43
fix: Packet fixes 43
2 parents 582185a + d1a6c5b commit 3fe70f9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/cluster/environment/bean/ephemeralContainerBean.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
)
77

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

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

3030
func (request EphemeralContainerRequest) GetContainerBean() repository.EphemeralContainerBean {

0 commit comments

Comments
 (0)