Просмотр исходного кода

chore: Turn up golang lint, and fix some minor error handling stuff

jamesread 3 недель назад
Родитель
Сommit
e6a232f21b

+ 1 - 1
service/internal/executor/executor.go

@@ -15,6 +15,7 @@ import (
 
 	"bytes"
 	"context"
+	"errors"
 	"fmt"
 	"os"
 	"os/exec"
@@ -22,7 +23,6 @@ import (
 	"regexp"
 	"strings"
 	"sync"
-	"errors"
 	"time"
 )
 

+ 1 - 1
service/internal/executor/timeout_context.go

@@ -2,10 +2,10 @@ package executor
 
 import (
 	"context"
+	"errors"
 	"os"
 	"sync"
 	"time"
-	"errors"
 
 	log "github.com/sirupsen/logrus"
 )

+ 1 - 1
service/scripts/find-flakey-tests-inf/main.go

@@ -3,6 +3,7 @@ package main
 import (
 	"bufio"
 	"encoding/json"
+	"errors"
 	"fmt"
 	"io"
 	"os"
@@ -10,7 +11,6 @@ import (
 	"path/filepath"
 	"strings"
 	"time"
-	"errors"
 
 	log "github.com/sirupsen/logrus"
 )