Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Check if DATASTORE_EMULATOR_HOST is set
Instead of checking to see if the endpoint is local, we should check to see if the datastore emulator variable is set. This is because there is an edge case where the user is using an emulator, but the emulator is not listening from local host and in this case we want to use insecure credentials.
- Loading branch information