Skip to content

Commit

Permalink
fixing linting
Browse files Browse the repository at this point in the history
Signed-off-by: Mahesh Kumar <[email protected]>
  • Loading branch information
k3mahesh committed Jun 5, 2024
1 parent 3540d30 commit a33af6f
Showing 1 changed file with 6 additions and 22 deletions.
28 changes: 6 additions & 22 deletions k8sutils/statefulset_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -437,18 +437,10 @@ func TestCreateOrUpdateStateFul(t *testing.T) {
containerParams: containerParameters{
Image: "redis:latest",
ReadinessProbe: &common.Probe{
InitialDelaySeconds: 5,
TimeoutSeconds: 5,
PeriodSeconds: 5,
SuccessThreshold: 2,
FailureThreshold: 2,
InitialDelaySeconds: int32(5),
},

Check failure on line 441 in k8sutils/statefulset_test.go

View workflow job for this annotation

GitHub Actions / lint

undefined: common.Probe
LivenessProbe: &common.Probe{
InitialDelaySeconds: 5,
TimeoutSeconds: 5,
PeriodSeconds: 5,
SuccessThreshold: 2,
FailureThreshold: 2,
InitialDelaySeconds: int32(5),
},

Check failure on line 444 in k8sutils/statefulset_test.go

View workflow job for this annotation

GitHub Actions / lint

undefined: common.Probe
},
sidecar: &[]redisv1beta2.Sidecar{
Expand Down Expand Up @@ -479,18 +471,10 @@ func TestCreateOrUpdateStateFul(t *testing.T) {
containerParams: containerParameters{
Image: "redis:latest",
ReadinessProbe: &common.Probe{
InitialDelaySeconds: 5,
TimeoutSeconds: 5,
PeriodSeconds: 5,
SuccessThreshold: 2,
FailureThreshold: 2,
InitialDelaySeconds: int32(5),
},

Check failure on line 475 in k8sutils/statefulset_test.go

View workflow job for this annotation

GitHub Actions / lint

undefined: common.Probe
LivenessProbe: &common.Probe{
InitialDelaySeconds: 5,
TimeoutSeconds: 5,
PeriodSeconds: 5,
SuccessThreshold: 2,
FailureThreshold: 2,
InitialDelaySeconds: int32(5),
},

Check failure on line 478 in k8sutils/statefulset_test.go

View workflow job for this annotation

GitHub Actions / lint

undefined: common.Probe
},
sidecar: &[]redisv1beta2.Sidecar{
Expand Down Expand Up @@ -524,10 +508,10 @@ func TestCreateOrUpdateStateFul(t *testing.T) {
containerParams: containerParameters{
Image: "redis:latest",
ReadinessProbe: &common.Probe{
InitialDelaySeconds: 5,
InitialDelaySeconds: int32(5),
},

Check failure on line 512 in k8sutils/statefulset_test.go

View workflow job for this annotation

GitHub Actions / lint

undefined: common.Probe
LivenessProbe: &common.Probe{
InitialDelaySeconds: 5,
InitialDelaySeconds: int32(5),
},

Check failure on line 515 in k8sutils/statefulset_test.go

View workflow job for this annotation

GitHub Actions / lint

undefined: common.Probe (typecheck)
},
sidecar: &[]redisv1beta2.Sidecar{
Expand Down

0 comments on commit a33af6f

Please sign in to comment.