chore: drop unused function

This commit is contained in:
Jose Diaz-Gonzalez committed 2021-07-09 20:30:09 -04:00
1 parent 8d26d06f5e
commit 012040d5c7
2 files changed
-21

No files matched your search

-9
View File
@@ -158,15 +158,6 @@ func GetContainerPort(appName, processType string, containerID string, isHerokui
return 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 // GetListeners returns a string array of app listeners
func GetListeners(appName string, processType string) []string { func GetListeners(appName string, processType string) []string {
appRoot := common.AppRoot(appName) appRoot := common.AppRoot(appName)
-12
View File
@@ -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"))
}