The bleeding edge branch for arvados-workbench2 is now called 'main'.
[arvados.git] / tools / keep-block-check / keep-block-check.go
index 9f6ff984aec2b9d26dd153a53df701aefe6ead96..fec699f19f9886e16908d64c4e537e8023eaf0e8 100644 (file)
@@ -16,8 +16,8 @@ import (
        "strings"
        "time"
 
-       "git.curoverse.com/arvados.git/sdk/go/arvadosclient"
-       "git.curoverse.com/arvados.git/sdk/go/keepclient"
+       "git.arvados.org/arvados.git/sdk/go/arvadosclient"
+       "git.arvados.org/arvados.git/sdk/go/keepclient"
 )
 
 var version = "dev"
@@ -74,7 +74,7 @@ func doMain(args []string) error {
 
        // Print version information if requested
        if *getVersion {
-               fmt.Printf("Version: %s\n", version)
+               fmt.Printf("keep-block-check %s\n", version)
                os.Exit(0)
        }
 
@@ -247,7 +247,7 @@ func performKeepBlockCheck(kc *keepclient.KeepClient, blobSignatureTTL time.Dura
        log.Printf("Verify block totals: %d attempts, %d successes, %d errors", totalBlocks, totalBlocks-notFoundBlocks, notFoundBlocks)
 
        if notFoundBlocks > 0 {
-               return fmt.Errorf("Block verification failed for %d out of %d blocks with matching prefix.", notFoundBlocks, totalBlocks)
+               return fmt.Errorf("Block verification failed for %d out of %d blocks with matching prefix", notFoundBlocks, totalBlocks)
        }
 
        return nil