From e6156671a8a5508e7f1f40603da0efdc1b7d70b4 Mon Sep 17 00:00:00 2001 From: Hamza El-Saawy Date: Wed, 27 Apr 2022 11:03:30 -0400 Subject: [PATCH] Upgrade golang/sys to fix warning Language server complains about `invalid operation: operator | not defined on windows.TOKEN_ADJUST_PRIVILEGES` in `privilege.go`. Upgrading to new golang.org/x/sys fixes issue. Signed-off-by: Hamza El-Saawy --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index a5bca01c..00fe52c3 100644 --- a/go.mod +++ b/go.mod @@ -4,5 +4,5 @@ go 1.17 require ( github.com/sirupsen/logrus v1.7.0 - golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c + golang.org/x/sys v0.0.0-20220422013727-9388b58f7150 ) diff --git a/go.sum b/go.sum index 9bdcd9cf..0425d53b 100644 --- a/go.sum +++ b/go.sum @@ -7,5 +7,5 @@ github.com/sirupsen/logrus v1.7.0/go.mod h1:yWOB1SBYBC5VeMP7gHvWumXLIWorT60ONWic github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w= github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs= golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c h1:VwygUrnw9jn88c4u8GD3rZQbqrP/tgas88tPUbBxQrk= -golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +golang.org/x/sys v0.0.0-20220422013727-9388b58f7150 h1:xHms4gcpe1YE7A3yIllJXP16CMAGuqwO2lX1mTyyRRc= +golang.org/x/sys v0.0.0-20220422013727-9388b58f7150/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=