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

alibaba fix price data is nil #1283

Merged

Conversation

raccoon-mh
Copy link
Member

#1274

  • Price 정책은 존재하지만, detail price 데이터가 없을때, 발생하는 오류 입니다.
  • Infof 로 에러 대신하도록 수정했습니다.
cloud-control-manager/cloud-driver/drivers/alibaba/resources/PriceInfoHandler.go
...
	} else {
		// return irs.PricingPolicies{}, errors.New("No Price Data") // https://github.com/cloud-barista/cb-spider/issues/1274
		cblogger.Infof("No Price Data at PricingId[%s]", pricingPolicy.PricingId)
		return pricingPolicy, nil
	}
...

@powerkimhub powerkimhub self-requested a review August 19, 2024 07:13
@powerkimhub powerkimhub merged commit f2a438b into cloud-barista:master Aug 19, 2024
3 checks passed
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.

Alibaba - price/region - panic: runtime error: invalid memory address or nil pointer dereference
2 participants