I'm unable to get the logs of an app.
depcon -e develop app log app_id
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x28 pc=0x5be02b]
goroutine 1 [running]:
panic(0xadc060, 0xc820010110)
/Users/junruh/go/src/runtime/panic.go:464 +0x3e6
github.com/ContainX/go-mesoslog/mesoslog.(*MesosClient).GetAppNameForTaskID(0x0, 0xc8203820a0, 0x42, 0x0, 0x0, 0x0, 0x0)
/Users/junruh/Development/golang/src/github.com/ContainX/go-mesoslog/mesoslog/client.go:124 +0x4b
github.com/ContainX/depcon/commands/marathon.getMesosAppIdentifier(0xf81d60, 0x0, 0x7ffdc657e4ee, 0x1e, 0x0, 0x0)
/Users/junruh/Development/golang/src/github.com/ContainX/depcon/commands/marathon/app_log_cmds.go:86 +0x1ef
github.com/ContainX/depcon/commands/marathon.showLogCmd(0xf81d60, 0xc82030bda0, 0x1, 0x3)
/Users/junruh/Development/golang/src/github.com/ContainX/depcon/commands/marathon/app_log_cmds.go:48 +0x1a8
github.com/spf13/cobra.(*Command).execute(0xf81d60, 0xc82031cc00, 0x3, 0x4, 0x0, 0x0)
/Users/junruh/Development/golang/src/github.com/spf13/cobra/command.go:499 +0x85a
github.com/spf13/cobra.(*Command).Execute(0xf7ee20, 0x0, 0x0)
/Users/junruh/Development/golang/src/github.com/spf13/cobra/command.go:582 +0x46a
github.com/ContainX/depcon/commands.executeWithExistingConfig()
/Users/junruh/Development/golang/src/github.com/ContainX/depcon/commands/depcon.go:138 +0x35d
github.com/ContainX/depcon/commands.Execute()
/Users/junruh/Development/golang/src/github.com/ContainX/depcon/commands/depcon.go:77 +0x1ce
main.main()
/Users/junruh/Development/golang/src/github.com/ContainX/depcon/main.go:26 +0x66
App-Id was removed to protect the innocent. The App-Id i'm using must be correct because depcon app get is working. All other commands are working as well.
Any Ideas?
I'm unable to get the logs of an app.
App-Id was removed to protect the innocent. The App-Id i'm using must be correct because
depcon app getis working. All other commands are working as well.Any Ideas?