Skip to content

Commit

Permalink
e2e: fix range indexing for args2env conversion
Browse files Browse the repository at this point in the history
Was dropping the last argument in the slice.
  • Loading branch information
heyitsanthony committed Jul 21, 2017
1 parent 107828d commit 954ec4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion e2e/etcd_spawn_cov.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func getCovArgs() ([]string, error) {

func args2env(args []string) []string {
var covEnvs []string
for i := range args[1:] {
for i := range args {
if !strings.HasPrefix(args[i], "--") {
continue
}
Expand Down

0 comments on commit 954ec4d

Please sign in to comment.