feat(cli,run): use 127.0.0.1 as default host value if empty
arcad/edge/pipeline/head This commit looks good
Details
arcad/edge/pipeline/head This commit looks good
Details
This commit is contained in:
parent
9944a37670
commit
7b6e39088d
|
@ -379,6 +379,10 @@ func findMatchingDeviceAddress(ctx context.Context, from string, defaultAddr str
|
|||
}
|
||||
|
||||
func newAppRepository(host string, basePort uint64, manifests ...*app.Manifest) *appModuleMemory.Repository {
|
||||
if host == "" {
|
||||
host = "127.0.0.1"
|
||||
}
|
||||
|
||||
return appModuleMemory.NewRepository(
|
||||
func(ctx context.Context, id app.ID, from string) (string, error) {
|
||||
appIndex := 0
|
||||
|
|
Loading…
Reference in New Issue