diff --git a/.golangci.yml b/.golangci.yml index 9fd33f8..6a00fd0 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -224,7 +224,7 @@ linters: # - govet # - errcheck # - staticcheck - # - unused + - unused # - gosimple # - ineffassign - typecheck diff --git a/producer/smpolicy.go b/producer/smpolicy.go index 9cea685..34a0f67 100644 --- a/producer/smpolicy.go +++ b/producer/smpolicy.go @@ -25,8 +25,6 @@ import ( "github.com/omec-project/pcf/util" ) -const flowRuleDataColl = "policyData.ues.flowRule" - // SmPoliciesPost - func HandleCreateSmPolicyRequest(request *http_wrapper.Request) *http_wrapper.Response { // step 1: log diff --git a/service/init.go b/service/init.go index 066c8ac..5af7847 100644 --- a/service/init.go +++ b/service/init.go @@ -53,8 +53,7 @@ type PCF struct{} type ( // Config information. Config struct { - pcfcfg string - heartBeatTimer string + pcfcfg string } )