about summary refs log tree commit diff
path: root/scripts/download-from-binary-cache.pl.in
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-11T14·13-0400
committerEelco Dolstra <eelco.dolstra@logicblox.com>2012-07-11T14·13-0400
commit5ee8944155f21a0ab5a100a184163d7bd0e72679 (patch)
tree0ac8e79b85c7107b4274e08f18fb4afebdc7fbd7 /scripts/download-from-binary-cache.pl.in
parentae72be1b8bf65e6b52bc0c9d534e55a79ca6712b (diff)
Cleanup
Diffstat (limited to 'scripts/download-from-binary-cache.pl.in')
-rw-r--r--scripts/download-from-binary-cache.pl.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/download-from-binary-cache.pl.in b/scripts/download-from-binary-cache.pl.in
index f062d17e6e94..2a70e5193390 100644
--- a/scripts/download-from-binary-cache.pl.in
+++ b/scripts/download-from-binary-cache.pl.in
@@ -233,7 +233,7 @@ sub getCacheId {
 }
 
 
-sub cachedGetInfoFrom {
+sub getCachedInfoFrom {
     my ($storePath, $binaryCacheUrl) = @_;
 
     $queryNAR->execute(getCacheId($binaryCacheUrl), basename($storePath));
@@ -279,7 +279,7 @@ sub printInfoParallel {
     foreach my $storePath (@paths) {
         my $found = 0;
         foreach my $binaryCacheUrl (@binaryCacheUrls) {
-            my $info = cachedGetInfoFrom($storePath, $binaryCacheUrl);
+            my $info = getCachedInfoFrom($storePath, $binaryCacheUrl);
             if (defined $info) {
                 printInfo($storePath, $info);
                 $found = 1;
@@ -323,7 +323,7 @@ sub downloadBinary {
     my ($storePath) = @_;
     
     foreach my $binaryCacheUrl (@binaryCacheUrls) {
-        my $info = cachedGetInfoFrom($storePath, $binaryCacheUrl);
+        my $info = getCachedInfoFrom($storePath, $binaryCacheUrl);
 
         unless (defined $info) {
             next if negativeHit($storePath, $binaryCacheUrl);