Skip to content

Commit

Permalink
fix: conditional logging attempt 2
Browse files Browse the repository at this point in the history
  • Loading branch information
kmherrmann committed Jul 19, 2023
1 parent c39a75d commit cd828f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ory-action-vpncheck-py/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import os

# load google cloud logging if running on GCP
if os.getenv('SERVER_SOFTWARE', ''):
if os.getenv('GCP_PROJECT', ''):
# set up the Google Cloud Logging python client library
import google.cloud.logging
client = google.cloud.logging.Client()
Expand Down

0 comments on commit cd828f7

Please sign in to comment.