diff --git a/internal/configuration/configuration.go b/internal/configuration/configuration.go index d910748..8ace238 100644 --- a/internal/configuration/configuration.go +++ b/internal/configuration/configuration.go @@ -22,14 +22,14 @@ type Configuration struct { } func LoadConfiguration(path string) (*Configuration, error) { - config_file, err := os.Open(path) + configFile, err := os.Open(path) if err != nil { return nil, errors.Wrap(err, "failed to open configuration file") } config := &Configuration{} - if err := yaml.NewDecoder(config_file).Decode(config); err != nil { + if err := yaml.NewDecoder(configFile).Decode(config); err != nil { return nil, errors.Wrap(err, "failed to decode configuration file") }