From ca49cd2874eded57e58d1d030a2ef9941afe7ee1 Mon Sep 17 00:00:00 2001 From: "Sean T. Allen" Date: Mon, 20 Sep 2021 12:08:16 -0400 Subject: [PATCH] Remove unused variable Signed-off-by: Sean T. Allen --- internal/uvm/security_policy.go | 5 ----- .../Microsoft/hcsshim/internal/uvm/security_policy.go | 5 ----- 2 files changed, 10 deletions(-) diff --git a/internal/uvm/security_policy.go b/internal/uvm/security_policy.go index 02af81d2b8..0898babbc1 100644 --- a/internal/uvm/security_policy.go +++ b/internal/uvm/security_policy.go @@ -2,7 +2,6 @@ package uvm import ( "context" - "errors" "fmt" "github.com/Microsoft/hcsshim/internal/guestrequest" @@ -11,10 +10,6 @@ import ( "github.com/Microsoft/hcsshim/pkg/securitypolicy" ) -var ( - ErrBadPolicy = errors.New("your policy looks suspicious or is badly formatted") -) - // SetSecurityPolicy tells the gcs instance in the UVM what policy to apply. // // This has to happen before we start mounting things or generally changing diff --git a/test/vendor/github.com/Microsoft/hcsshim/internal/uvm/security_policy.go b/test/vendor/github.com/Microsoft/hcsshim/internal/uvm/security_policy.go index 02af81d2b8..0898babbc1 100644 --- a/test/vendor/github.com/Microsoft/hcsshim/internal/uvm/security_policy.go +++ b/test/vendor/github.com/Microsoft/hcsshim/internal/uvm/security_policy.go @@ -2,7 +2,6 @@ package uvm import ( "context" - "errors" "fmt" "github.com/Microsoft/hcsshim/internal/guestrequest" @@ -11,10 +10,6 @@ import ( "github.com/Microsoft/hcsshim/pkg/securitypolicy" ) -var ( - ErrBadPolicy = errors.New("your policy looks suspicious or is badly formatted") -) - // SetSecurityPolicy tells the gcs instance in the UVM what policy to apply. // // This has to happen before we start mounting things or generally changing