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
Anthony Romano authored and visheshnp committed Aug 3, 2017
1 parent 148b2b1 commit d81a039
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 d81a039

Please sign in to comment.