Skip to content

Commit

Permalink
Fix panic on VKCS Kubernetes API error in vkcs_kubernetes_security_po…
Browse files Browse the repository at this point in the history
…licy
  • Loading branch information
morozovalekseywot committed Dec 16, 2024
1 parent 78f1946 commit ce7a425
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ description: |-

# VKCS Provider's changelog

#### v0.9.1
- Fix panic on VKCS Kubernetes API error in vkcs_kubernetes_security_policy

#### v0.9.0
- Add vkcs_cloud_monitoring resource
- Add cloud_monitoring argument to vkcs_compute_instance
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ type SecurityPolicyTemplates struct {
func (r securityPolicyTemplatesResult) Extract() ([]SecurityPolicyTemplate, error) {
var s *SecurityPolicyTemplates
err := r.ExtractInto(&s)
if err != nil {
return nil, err
}

for i, t := range s.SecurityPolicyTemplates {
if t.SettingsDescription != "" {
Expand Down

0 comments on commit ce7a425

Please sign in to comment.