Skip to content

Commit

Permalink
chore: Adds unused lint check (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
gruyaume authored Jan 3, 2024
1 parent fe7080a commit 6371cd6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ linters:
# - govet
# - errcheck
# - staticcheck
# - unused
- unused
# - gosimple
# - ineffassign
- typecheck
Expand Down
2 changes: 0 additions & 2 deletions producer/smpolicy.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions service/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ type PCF struct{}
type (
// Config information.
Config struct {
pcfcfg string
heartBeatTimer string
pcfcfg string
}
)

Expand Down

0 comments on commit 6371cd6

Please sign in to comment.