diff --git a/.golangci.yml b/.golangci.yml index 915055a..a411f09 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -239,7 +239,7 @@ linters: # - gci - misspell # - gofumpt - # - whitespace + - whitespace - unconvert - predeclared - noctx diff --git a/factory/config.go b/factory/config.go index 4273d0a..8cc6e7a 100644 --- a/factory/config.go +++ b/factory/config.go @@ -129,7 +129,6 @@ func (c *Config) updateConfig(commChannel chan *protos.NetworkSliceResponse, dbU } else { logger.GrpcLog.Infoln("Plmn not present in the message ") } - } err := c.addSmPolicyInfo(ns, dbUpdateChannel) if err != nil { diff --git a/service/init.go b/service/init.go index cb6453f..fb3d3dd 100644 --- a/service/init.go +++ b/service/init.go @@ -169,7 +169,6 @@ func (udr *UDR) FilterCli(c *cli.Context) (args []string) { } func (udr *UDR) Start() { - // get config file info config := factory.UdrConfig mongodb := config.Configuration.Mongodb