nacx commented on this pull request.
>
+ PublicKey userKey = readPublicKey(options.getPublicKey());
+ final String fingerprint = computeFingerprint(userKey);
+
+ synchronized (CreateSshKeysThenCreateNodes.class) {
To avoid race conditions on this "getOrCreate" method. You could have
apps/clients accessing the same project with different API keys (that is, two
different jclouds contexts), and race conditions could appear here.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/397#discussion_r122142423