Skip to content

Commit

Permalink
fix linter
Browse files Browse the repository at this point in the history
Signed-off-by: Nikita Skrynnik <nikita.skrynnik@xored.com>
  • Loading branch information
NikitaSkrynnik committed Jun 30, 2023
1 parent 3fb3bda commit 30c1323
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion internal/imports/imports_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ import (
_ "google.golang.org/grpc/credentials"
_ "google.golang.org/grpc/health/grpc_health_v1"
_ "google.golang.org/protobuf/types/known/timestamppb"
_ "io/ioutil"
_ "net"
_ "net/url"
_ "os"
Expand Down
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ package main
import (
"context"
"crypto/tls"
"io/ioutil"
"net/url"
"os"
"os/signal"
Expand Down Expand Up @@ -179,7 +178,7 @@ func main() {
)
server := grpc.NewServer(options...)
responderEndpoint.Register(server)
tmpDir, err := ioutil.TempDir("", cfg.Name)
tmpDir, err := os.MkdirTemp("", cfg.Name)
if err != nil {
logrus.Fatalf("error creating tmpDir %+v", err)
}
Expand Down

0 comments on commit 30c1323

Please sign in to comment.