Skip to content

Commit 4b794f5

Browse files
fix: change yaml to yml
1 parent 7057553 commit 4b794f5

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ MAIN = cmd/main.go
44
BIN_DIR = ~/.local/bin
55
CONFIG_DIR= ~/.config/403unlocker
66
DNS_CONFIG_FILE_URL=https://raw.githubusercontent.com/403unlocker/403Unlocker-cli/refs/heads/main/config/dns.yml
7-
DOCKER_CONFIG_FILE_URL=https://raw.githubusercontent.com/403unlocker/403Unlocker-cli/refs/heads/main/config/dockerRegistry.yaml
7+
DOCKER_CONFIG_FILE_URL=https://raw.githubusercontent.com/403unlocker/403Unlocker-cli/refs/heads/main/config/dockerRegistry.yml
88

99
.DEFAULT_GOAL := help
1010

@@ -39,7 +39,7 @@ install: build
3939
@install -m 755 $(OUTPUT) $(BIN_DIR)
4040
@echo "Downloading config files dns.yml to $(CONFIG_DIR)..."
4141
@wget $(DNS_CONFIG_FILE_URL) -q -P $(CONFIG_DIR)
42-
@echo "Downloading dockerRegistry.yaml $(CONFIG_DIR)..."
42+
@echo "Downloading dockerRegistry.yml $(CONFIG_DIR)..."
4343
@wget $(DOCKER_CONFIG_FILE_URL) -q -P $(CONFIG_DIR)
4444

4545

internal/common/function.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ const (
2929
// DNS config
3030
DNS_CONFIG_FILE = ".config/403unlocker/dns.yml"
3131
CHECKED_DNS_CONFIG_FILE = ".config/403unlocker/checked_dns.yml"
32-
DOCKER_CONFIG_FILE = ".config/403unlocker/dockerRegistry.yaml"
32+
DOCKER_CONFIG_FILE = ".config/403unlocker/dockerRegistry.yml"
3333
DNS_CONFIG_URL = "https://raw.githubusercontent.com/403unlocker/403Unlocker-cli/refs/heads/main/config/dns.yml"
34-
DOCKER_CONFIG_URL = "https://raw.githubusercontent.com/403unlocker/403Unlocker-cli/refs/heads/main/config/dockerRegistry.yaml"
34+
DOCKER_CONFIG_URL = "https://raw.githubusercontent.com/403unlocker/403Unlocker-cli/refs/heads/main/config/dockerRegistry.yml"
3535

3636
// OS names
3737
WINDOWS_OS_NAME = "windows"

internal/dns/function.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ func CheckWithURL(commandLintFirstArg string, check bool, timeout int) error {
140140
dnsList, err := common.ReadDNSFromFile(dnsFile)
141141
if err != nil {
142142
// Fallback to download and read from the original DNS file
143-
println("kir")
144143
err = common.DownloadConfigFile(common.DNS_CONFIG_URL, common.DNS_CONFIG_FILE)
145144
if err != nil {
146145
return fmt.Errorf("error downloading DNS config file: %w", err)

0 commit comments

Comments
 (0)