Skip to content

Commit

Permalink
revert unnecessary change
Browse files Browse the repository at this point in the history
Signed-off-by: Ziv Nevo <[email protected]>
  • Loading branch information
zivnevo committed Jul 11, 2024
1 parent d252906 commit ab349f5
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions tests/e2e/k8s/util/kind.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ type Pod struct {
Namespace string
// Image is the container image.
Image string
// Command is the command to execute on the container
Command []string
// Args are the container command line arguments.
Args []string
}
Expand Down Expand Up @@ -302,10 +300,9 @@ func (c *KindCluster) RunPod(podSpec *Pod) (string, error) {
Spec: v1.PodSpec{
RestartPolicy: v1.RestartPolicyNever,
Containers: []v1.Container{{
Name: podSpec.Name,
Image: podSpec.Image,
Command: podSpec.Command,
Args: podSpec.Args,
Name: podSpec.Name,
Image: podSpec.Image,
Args: podSpec.Args,
}},
},
})
Expand Down

0 comments on commit ab349f5

Please sign in to comment.