mirror of https://github.com/pulumi/pulumi.git
3260080071
In the DIY backend, when a stack is locked, we attempt to show the URL to the lock file in the error message we show to users. The URL is naively created by concatenating the baseURL with the path to the lock file. But this naive concatenation isn't correct when there are query params in the base URL. This change fixes that by concatenating the path of a parsed URL. If for some reason we can't parse the URL, we fall back to the naive concatenation we were doing previously. Fixes #17762 |
||
---|---|---|
.. | ||
backend.go | ||
backend_legacy_test.go | ||
backend_test.go | ||
bucket.go | ||
bucket_test.go | ||
doc.go | ||
lock.go | ||
lock_test.go | ||
meta.go | ||
meta_test.go | ||
pool.go | ||
pool_test.go | ||
snapshot.go | ||
stack.go | ||
state.go | ||
store.go | ||
store_test.go |