20520: Fix unreleased mutex on error importing SSH key.
authorTom Clegg <tom@curii.com>
Fri, 26 May 2023 14:10:09 +0000 (10:10 -0400)
committerTom Clegg <tom@curii.com>
Fri, 26 May 2023 14:36:00 +0000 (10:36 -0400)
commit9dd4c7e9149ec7c60edbc106dd208599cb2a75d9
tree97b6e1cab8c343c451869dd28c22aa47c4ed195c
parentaec8a66deeff226db672351cd3ab803bf01a186d
20520: Fix unreleased mutex on error importing SSH key.

Any error listing or importing keys (which, luckily, only happens the
first time a arvados-dispatch-cloud process creates a new instance)
would cause Create() call to fail, and cause all subsequent Create()
calls to hang forever until the service is restarted.

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom@curii.com>
lib/cloud/ec2/ec2.go