elfsong commited on
Commit
ba264c6
1 Parent(s): 36e8169
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -17,6 +17,8 @@ def get_status(credentials, instance_name):
17
  client = googleapiclient.discovery.build('compute', 'v1', credentials=credentials)
18
 
19
  result = client.instances().list(project='nus-cisco-corp-lab-wp1', zone='asia-southeast1-c').execute()
 
 
20
  for item in result['items']:
21
  if item["name"] == instance_name:
22
  try:
 
17
  client = googleapiclient.discovery.build('compute', 'v1', credentials=credentials)
18
 
19
  result = client.instances().list(project='nus-cisco-corp-lab-wp1', zone='asia-southeast1-c').execute()
20
+ print(result)
21
+ st.write(result)
22
  for item in result['items']:
23
  if item["name"] == instance_name:
24
  try: