Skip to content

Commit efe239d

Browse files
author
Jon Wayne Parrott
committed
Fixing bad logging argument
Change-Id: Ic9f654d3792755ff55d1e6401eaf60f305586aaa
1 parent ee148dc commit efe239d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

logging/api-client/list_logs.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,14 @@
3232

3333
# [START list_logs]
3434
def list_logs(project_id, logging_service):
35-
request = logging_service.projects().logs().list(projectId=project_id)
35+
request = logging_service.projects().logs().list(projectsId=project_id)
3636

3737
while request:
3838
response = request.execute()
3939
if not response:
4040
print("No logs found in {0} project").format(project_id)
4141
return False
42+
4243
for log in response['logs']:
4344
print(log['name'])
4445

0 commit comments

Comments
 (0)