Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotfix for runtime err in RegisterCspNativeRes #1101

Merged
merged 1 commit into from
May 10, 2022

Conversation

seokho-son
Copy link
Member

To resolve following panic,

from RegisterCspNativeResourcesAll

panic: interface conversion: interface {} is nil, not []mcir.TbVNetInfo

goroutine 4037 [running]:
github.com/cloud-barista/cb-tumblebug/src/core/mcir.CreateSecurityGroup(0xc001fe03dc, 0x4, 0xc0020d2d80, 0x15e4e30, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/home/son/go/src/github.com/cloud-barista/cb-tumblebug/src/core/mcir/securitygroup.go:200 +0x3059
github.com/cloud-barista/cb-tumblebug/src/core/mcis.RegisterCspNativeResources(0xc001fe03dc, 0x4, 0xc0032fe9d0, 0xc, 0xc002effc00, 0x10, 0x0, 0x0, 0x0, 0x0, ...)
	/home/son/go/src/github.com/cloud-barista/cb-tumblebug/src/core/mcis/utility.go:849 +0xc75
github.com/cloud-barista/cb-tumblebug/src/core/mcis.RegisterCspNativeResourcesAll.func1(0xc00331ff40, 0xc001fe03d8, 0x3, 0x0, 0x0, 0xc001fe03dc, 0x4, 0xc0032f2a20, 0xc0032fe9d0, 0xc, ...)
	/home/son/go/src/github.com/cloud-barista/cb-tumblebug/src/core/mcis/utility.go:757 +0x1ff
created by github.com/cloud-barista/cb-tumblebug/src/core/mcis.RegisterCspNativeResourcesAll
	/home/son/go/src/github.com/cloud-barista/cb-tumblebug/src/core/mcis/utility.go:739 +0x258
Makefile:12: recipe for target 'run' failed
make: *** [run] Error 2

@seokho-son seokho-son requested a review from jihoon-seo as a code owner May 10, 2022 04:55
@seokho-son
Copy link
Member Author

ref #1099

@jihoon-seo jihoon-seo merged commit bf7229a into cloud-barista:main May 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants