From adf5a1ea13116f444b7a2fb3e034e7d98bb76995 Mon Sep 17 00:00:00 2001 From: Cedric Shih Date: Sat, 18 Feb 2023 13:02:28 +0800 Subject: [PATCH] chore: house keeping --- cmd/root.go | 4 ---- config/config.go | 1 - 2 files changed, 5 deletions(-) diff --git a/cmd/root.go b/cmd/root.go index 3a72854..d4bfd2d 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -1,7 +1,3 @@ -/* -Copyright © 2022 NAME HERE - -*/ package cmd import ( diff --git a/config/config.go b/config/config.go index cc9a4a2..754e010 100644 --- a/config/config.go +++ b/config/config.go @@ -36,7 +36,6 @@ func getConfig(name string) (*viper.Viper, error) { cfg.AddConfigPath("./") cfg.AddConfigPath("config/") cfg.AddConfigPath("../config/") - cfg.AddConfigPath("/etc/serviced/") err := cfg.ReadInConfig() if err != nil { return nil, err