Fix the following kubernet service error when creating a new resource and server template
Error: Cannot use object of type Maclof\Kubernetes\Models\NamespaceModel as array in Drupal\k8s\Form\K8sContentForm->getNamespaceOptions() (line 337 of /var/www/html/web/cloud-testing/web/modules/contrib/cloud/modules/cloud_service_providers/k8s/src/Form/K8sContentForm.php)
Error: Cannot use object of type Maclof\Kubernetes\Models\NamespaceModel as array in k8s_namespace_allowed_values_function() (line 571 of /var/www/html/web/cloud-testing/web/modules/contrib/cloud/modules/cloud_service_providers/k8s/k8s.module)
Comment | File | Size | Author |
---|---|---|---|
#2 | 3102623-2.patch | 4.21 KB | jigish.addweb |
Comments
Comment #2
jigish.addweb CreditAttribution: jigish.addweb at AddWeb Solution Pvt. Ltd. commentedComment #3
yas@jigishaddweb
Thank you for fixing the issue. I tested it and looks good to me. I'll merge the patch to
8.x-2.x
and close this issue asFixed
.Comment #5
yasComment #6
yas