Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Parthvi Vala <[email protected]>
  • Loading branch information
rm3l and valaparthvi authored Apr 24, 2023
1 parent 05cdfc4 commit bfe4168
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions tests/integration/cmd_dev_debug_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,7 @@ var _ = Describe("odo dev debug command tests", func() {
ports map[string]string
)
var (
LocalPort int
LocalDebugPort int
LocalPort, LocalDebugPort int
)
const (
ContainerPort = "3000"
Expand Down
4 changes: 1 addition & 3 deletions tests/integration/cmd_dev_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1032,9 +1032,7 @@ ComponentSettings:

When("devfile has multiple endpoints", func() {
var (
LocalPort1 int
LocalPort2 int
LocalPort3 int
LocalPort1, LocalPort2, LocalPort3 int
)
const (
// ContainerPort<N> are hard-coded from devfile-with-multiple-endpoints.yaml
Expand Down

0 comments on commit bfe4168

Please sign in to comment.