今天我们的 google cloud sdk 从 121.0.0 升级到了 122.0.0。随后,我们在运行时开始看到此错误gsutil cp
:
Traceback (most recent call last):
File "/usr/local/gcloud-cli/bin/bootstrapping/gsutil.py", line 75, in <module>
main()
File "/usr/local/gcloud-cli/bin/bootstrapping/gsutil.py", line 48, in main
os.environ['GA_CID'] = metrics.GetCIDIfMetricsEnabled()
AttributeError: 'module' object has no attribute 'GetCIDIfMetricsEnabled'