TIBCOSoftware / flogo-cli

Project Flogo Command Line Interface
http://flogo.io
BSD 3-Clause "New" or "Revised" License
57 stars 28 forks source link

flogodevice create - fails #76

Open tuurleyck opened 6 years ago

tuurleyck commented 6 years ago

flogodevice create cloudJamL4

fails

[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x7bfb0]

goroutine 1 [running]: panic(0x2b8d60, 0xc4200120c0) /usr/local/Cellar/go/1.7.4_1/libexec/src/runtime/panic.go:500 +0x1a1 github.com/TIBCOSoftware/flogo-cli/device.CreateDevice(0x451a00, 0xc420014580, 0xc4200da480, 0x409, 0xc420014540, 0x34, 0x7fff5fbffb03, 0x4, 0x30773d, 0x1) /opt/go/src/github.com/TIBCOSoftware/flogo-cli/device/api.go:62 +0x460 github.com/TIBCOSoftware/flogo-cli/device.(*cmdCreate).Exec(0xc4200cc6c0, 0xc42000c140, 0x1, 0x1, 0x0, 0x0) /opt/go/src/github.com/TIBCOSoftware/flogo-cli/device/create.go:93 +0x227 github.com/TIBCOSoftware/flogo-cli/cli.ExecCommand(0xc42001a240, 0x44eae0, 0xc4200cc6c0, 0xc42000c140, 0x1, 0x1, 0xf576, 0xc42001a0b8) /opt/go/src/github.com/TIBCOSoftware/flogo-cli/cli/command.go:114 +0xc3 main.main() /opt/go/src/github.com/TIBCOSoftware/flogo-cli/cmd/flogodevice/main.go:42 +0x145

Can you add a template for the content of a device.json file, when using the -f argument?