From 012040d5c7eb9e4fb97210990738873b6a369ac9 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Fri, 16 Apr 2021 23:58:11 -0400 Subject: [PATCH] chore: drop unused function --- plugins/network/network.go | 9 --------- plugins/network/network_test.go | 12 ------------ 2 files changed, 21 deletions(-) delete mode 100644 plugins/network/network_test.go diff --git a/plugins/network/network.go b/plugins/network/network.go index 65cbca829..614d0e22f 100644 --- a/plugins/network/network.go +++ b/plugins/network/network.go @@ -158,15 +158,6 @@ func GetContainerPort(appName, processType string, containerID string, isHerokui return } -// GetDefaultValue returns the default value for a given property -func GetDefaultValue(property string) (value string) { - value, ok := DefaultProperties[property] - if ok { - return - } - return -} - // GetListeners returns a string array of app listeners func GetListeners(appName string, processType string) []string { appRoot := common.AppRoot(appName) diff --git a/plugins/network/network_test.go b/plugins/network/network_test.go deleted file mode 100644 index 9aed75050..000000000 --- a/plugins/network/network_test.go +++ /dev/null @@ -1,12 +0,0 @@ -package network - -import ( - "testing" - - . "github.com/onsi/gomega" -) - -func TestNetworkGetDefaultValue(t *testing.T) { - RegisterTestingT(t) - Expect(GetDefaultValue("bind-all-interfaces")).To(Equal("false")) -}