Relative Content

Tag Archive for pythonpython-3.xgoogle-cloud-platformgoogle-kubernetes-engine

Insert response into empty list

I am new to python i am writing a code to connect to gke cluster by listing them out from the projects. But when i am trying to store gke cluster to list i am getting error NameError: name ‘name’ is not defined . But when i am checking the type of cluster[name] it is giving me string . Could someone help me with this. Below is the code snippet