chore: drop unused function
This commit is contained in:
1 parent
8d26d06f5e
commit
012040d5c7
2 files changed
-21
No files matched your search
@@ -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)
|
||||||
|
|||||||
@@ -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