Closed yunussandikci closed 3 years ago
After a fresh installation, If you don't run the login command on Hazelcast Cloud CLI; it panics because it cant find config folder. You can find the error below
login
goroutine 1 [running]: github.com/hazelcast/hazelcast-cloud-cli/internal.configService.getConfig(0xc0004ce360, 0x1f, 0xc0004d62a0, 0x2b, 0x13ad785) /private/tmp/hzcloud-20201105-12083-1roym98/hazelcast-cloud-cli-1.2.0/src/github.com/hazelcast/hazelcast-cloud-cli/internal/configService.go:46 +0x1ad github.com/hazelcast/hazelcast-cloud-cli/internal.configService.Get(...) /private/tmp/hzcloud-20201105-12083-1roym98/hazelcast-cloud-cli-1.2.0/src/github.com/hazelcast/hazelcast-cloud-cli/internal/configService.go:77 github.com/hazelcast/hazelcast-cloud-cli/internal.UpdateService.isVersionCheckNeeded(0x2388100, 0xc0004c9dc0, 0xc00004b800) /private/tmp/hzcloud-20201105-12083-1roym98/hazelcast-cloud-cli-1.2.0/src/github.com/hazelcast/hazelcast-cloud-cli/internal/updaterService.go:123 +0x4a github.com/hazelcast/hazelcast-cloud-cli/internal.UpdateService.Check(0x2388100, 0xc0004c9dc0, 0x0) /private/tmp/hzcloud-20201105-12083-1roym98/hazelcast-cloud-cli-1.2.0/src/github.com/hazelcast/hazelcast-cloud-cli/internal/updaterService.go:93 +0x50 main.main() /private/tmp/hzcloud-20201105-12083-1roym98/hazelcast-cloud-cli-1.2.0/src/github.com/hazelcast/hazelcast-cloud-cli/main.go:12 +0x65```
After a fresh installation, If you don't run the
login
command on Hazelcast Cloud CLI; it panics because it cant find config folder. You can find the error below