From 6c7568d9bb422bb65f8866a72d42af7804f2818d Mon Sep 17 00:00:00 2001 From: "Ivan Kuchin (ikuchin)" Date: Sat, 30 Dec 2023 18:31:14 -0500 Subject: [PATCH] fix failing spall chacker --- .github/actions/spelling/expect.txt | 14 +++++++++++++- internal/config_reader/config_reader_yaml.go | 2 +- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/actions/spelling/expect.txt b/.github/actions/spelling/expect.txt index 2c90a8a..7e8c581 100644 --- a/.github/actions/spelling/expect.txt +++ b/.github/actions/spelling/expect.txt @@ -1 +1,13 @@ -youtube +api +cidr +dhcp +github +GWIPBy +ipam +ivankuchin +php +phpipamsync +Rignore +spf +unmarshalling +yaml diff --git a/internal/config_reader/config_reader_yaml.go b/internal/config_reader/config_reader_yaml.go index a42a0f2..eae71ea 100644 --- a/internal/config_reader/config_reader_yaml.go +++ b/internal/config_reader/config_reader_yaml.go @@ -11,7 +11,7 @@ import ( type YAMLConfigReader struct { } -func (ycr *YAMLConfigReader) GetConfig() (*Config, error) { +func (config_reader *YAMLConfigReader) GetConfig() (*Config, error) { home_dir, err := os.UserHomeDir() if err != nil { log.Fatalf("ERROR: %v\n", err.Error())