Skip to content

Commit

Permalink
Fixes linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Aryan51203 committed Dec 22, 2024
1 parent 2e7ca60 commit b7b1251
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/parser.go
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
package config

import (
"io/ioutil"
"log"
"os"

"gopkg.in/yaml.v2"
yaml "gopkg.in/yaml.v2"
)

func getConf() *NymeriaCfg {
c := &NymeriaCfg{}

yamlFile, err := ioutil.ReadFile("config.yaml")
yamlFile, err := os.ReadFile("config.yaml")
if err != nil {
log.Printf("yamlFile.Get err #%v ", err)
}
Expand Down

0 comments on commit b7b1251

Please sign in to comment.