From 1a0b6cba28b47d9110d38dbde42150cd0626e557 Mon Sep 17 00:00:00 2001 From: Henry Avetisyan Date: Mon, 30 Dec 2024 14:36:01 -0800 Subject: [PATCH] replace inet.af/peercred with github.com/tailscale/peercred Signed-off-by: Henry Avetisyan --- go.mod | 2 +- go.sum | 4 ++-- libs/go/sia/aws/sds/uds.go | 3 ++- libs/go/sia/sds/uds.go | 3 ++- 4 files changed, 7 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 39bd70f0261..251116ff88c 100644 --- a/go.mod +++ b/go.mod @@ -24,6 +24,7 @@ require ( github.com/gorilla/mux v1.8.1 github.com/jawher/mow.cli v1.2.0 github.com/stretchr/testify v1.10.0 + github.com/tailscale/peercred v0.0.0-20240214030740-b535050b2aa4 golang.org/x/crypto v0.31.0 golang.org/x/net v0.33.0 golang.org/x/oauth2 v0.24.0 @@ -32,7 +33,6 @@ require ( gopkg.in/natefinch/lumberjack.v2 v2.2.1 gopkg.in/yaml.v2 v2.4.0 gopkg.in/yaml.v3 v3.0.1 - inet.af/peercred v0.0.0-20210906144145-0893ea02156a k8s.io/apimachinery v0.32.0 k8s.io/client-go v0.32.0 k8s.io/utils v0.0.0-20241210054802-24370beab758 diff --git a/go.sum b/go.sum index 79e64486d30..48f79bc8762 100644 --- a/go.sum +++ b/go.sum @@ -160,6 +160,8 @@ github.com/stretchr/testify v1.8.0/go.mod h1:yNjHg4UonilssWZ8iaSj1OCr/vHnekPRkoO github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/stretchr/testify v1.10.0 h1:Xv5erBjTwe/5IxqUQTdXv5kgmIvbHo3QQyRwhJsOfJA= github.com/stretchr/testify v1.10.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY= +github.com/tailscale/peercred v0.0.0-20240214030740-b535050b2aa4 h1:Gz0rz40FvFVLTBk/K8UNAenb36EbDSnh+q7Z9ldcC8w= +github.com/tailscale/peercred v0.0.0-20240214030740-b535050b2aa4/go.mod h1:phI29ccmHQBc+wvroosENp1IF9195449VDnFDhJ4rJU= github.com/x448/float16 v0.8.4 h1:qLwI1I70+NjRFUR3zs1JPUCgaCXSh3SW62uAKT1mSBM= github.com/x448/float16 v0.8.4/go.mod h1:14CWIYCyZA/cWjXOioeEpHeN/83MdbZDRQHoFcYsOfg= github.com/yuin/goldmark v1.1.27/go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74= @@ -306,8 +308,6 @@ gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4= -inet.af/peercred v0.0.0-20210906144145-0893ea02156a h1:qdkS8Q5/i10xU2ArJMKYhVa1DORzBfYS/qA2UK2jheg= -inet.af/peercred v0.0.0-20210906144145-0893ea02156a/go.mod h1:FjawnflS/udxX+SvpsMgZfdqx2aykOlkISeAsADi5IU= k8s.io/apimachinery v0.32.0 h1:cFSE7N3rmEEtv4ei5X6DaJPHHX0C+upp+v5lVPiEwpg= k8s.io/apimachinery v0.32.0/go.mod h1:GpHVgxoKlTxClKcteaeuF1Ul/lDVb74KpZcxcmLDElE= k8s.io/client-go v0.32.0 h1:DimtMcnN/JIKZcrSrstiwvvZvLjG0aSxy8PxN8IChp8= diff --git a/libs/go/sia/aws/sds/uds.go b/libs/go/sia/aws/sds/uds.go index ebbb7e0d0cc..843cb42629c 100644 --- a/libs/go/sia/aws/sds/uds.go +++ b/libs/go/sia/aws/sds/uds.go @@ -18,12 +18,13 @@ package sds import ( "fmt" - "inet.af/peercred" "log" "net" "os" "path/filepath" "strconv" + + "github.com/tailscale/peercred" ) type Listener struct { diff --git a/libs/go/sia/sds/uds.go b/libs/go/sia/sds/uds.go index ebbb7e0d0cc..843cb42629c 100644 --- a/libs/go/sia/sds/uds.go +++ b/libs/go/sia/sds/uds.go @@ -18,12 +18,13 @@ package sds import ( "fmt" - "inet.af/peercred" "log" "net" "os" "path/filepath" "strconv" + + "github.com/tailscale/peercred" ) type Listener struct {