Set connectionFile instead of creating a shadow

This commit is contained in:
Daniel Smith 2021-05-12 11:54:55 -04:00 committed by GitHub
parent 6499fa178e
commit 4361dcca2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1505,7 +1505,7 @@ private:
fprintf(stderr, "%s\n", ClusterConnectionString::getErrorString(connectionString, e).c_str());
throw;
}
auto connectionFile = makeReference<ClusterConnectionFile>(connFile, ccs);
connectionFile = makeReference<ClusterConnectionFile>(connFile, ccs);
} else {
std::pair<std::string, bool> resolvedClusterFile;
try {