chore: drop unused function
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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"))
|
||||
}
|
||||
Reference in New Issue
Block a user