Skip to content

Commit

Permalink
Linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
xBlaz3kx committed Jul 23, 2024
1 parent fd2d8e1 commit 3ee91a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
1 change: 1 addition & 0 deletions ocpp_v16/configuration_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ func (s *OcppConfigTest) TestGetConfigurationValue() {
// Invalid key
value, err = s.config.GetConfigurationValue("Test4")
s.Assert().Error(err)
s.Assert().Nil(value)
}

func (s *OcppConfigTest) TestGetVersion() {
Expand Down
11 changes: 5 additions & 6 deletions ocpp_v16/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,11 @@ type (
}

ManagerV16 struct {
supportedProfiles []string
ocppConfig *Config
mandatoryKeys []Key
keyValidator KeyValidator
onUpdateHandlers map[Key]OnUpdateHandler
mu sync.Mutex
ocppConfig *Config
mandatoryKeys []Key
keyValidator KeyValidator
onUpdateHandlers map[Key]OnUpdateHandler
mu sync.Mutex
}
)

Expand Down

0 comments on commit 3ee91a3

Please sign in to comment.