GoogleCloudPlatform / slurm-gcp

Apache License 2.0
26 stars 20 forks source link

Fix potential issue with CentOS 7 and universe_domain #187

Closed cdunbar13 closed 2 months ago

cdunbar13 commented 2 months ago

Modified the create_client_options function to only conditionally use the universe_domain parameter as it does not exist in older versions of google-api-core. This can still throw errors if a user is on CentOS 7 and specifies a universe, but an error will let them know the cause of failure.

This has been tested using the hpc-toolkit on a test branch.