[ARVADOS] updated: 628f2f2e1bfabdb7221badab3d5189011aee5a54

Git user git at public.curoverse.com
Thu Apr 21 21:51:50 EDT 2016


Summary of changes:
 sdk/go/manifest/manifest.go                   | 2 +-
 sdk/go/streamer/transfer.go                   | 4 ++--
 services/crunch-run/crunchrun_test.go         | 2 +-
 services/datamanager/loggerutil/loggerutil.go | 2 +-
 services/datamanager/summary/pull_list.go     | 2 +-
 services/keepproxy/keepproxy.go               | 2 +-
 services/keepstore/trash_worker_test.go       | 2 +-
 7 files changed, 8 insertions(+), 8 deletions(-)

       via  628f2f2e1bfabdb7221badab3d5189011aee5a54 (commit)
      from  08d8c1af187132692baf70a531f87c8082f72cdc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 628f2f2e1bfabdb7221badab3d5189011aee5a54
Author: Ward Vandewege <ward at curoverse.com>
Date:   Thu Apr 21 21:51:12 2016 -0400

    Fix a bunch of misspellings in our Go code (all in comments).
    
    Thank you https://goreportcard.com/report/github.com/curoverse/arvados#misspell
    
    No issue #

diff --git a/sdk/go/manifest/manifest.go b/sdk/go/manifest/manifest.go
index cf0ae85..22b1c97 100644
--- a/sdk/go/manifest/manifest.go
+++ b/sdk/go/manifest/manifest.go
@@ -265,7 +265,7 @@ func (m *Manifest) FileSegmentIterByName(filepath string) <-chan *FileSegment {
 	return ch
 }
 
-// Blocks may appear mulitple times within the same manifest if they
+// Blocks may appear multiple times within the same manifest if they
 // are used by multiple files. In that case this Iterator will output
 // the same block multiple times.
 //
diff --git a/sdk/go/streamer/transfer.go b/sdk/go/streamer/transfer.go
index 3f5f934..499b4d9 100644
--- a/sdk/go/streamer/transfer.go
+++ b/sdk/go/streamer/transfer.go
@@ -16,13 +16,13 @@ channel back to the transfer() function.
 Meanwhile, the transfer() function selects() on two channels, the "requests"
 channel and the "slices" channel.
 
-When a message is recieved on the "slices" channel, this means the a new
+When a message is received on the "slices" channel, this means the a new
 section of the buffer has data, or an error is signaled.  Since the data has
 been read directly into the source_buffer, it is able to simply increases the
 size of the body slice to encompass the newly filled in section.  Then any
 pending reads are serviced with handleReadRequest (described below).
 
-When a message is recieved on the "requests" channel, it means a StreamReader
+When a message is received on the "requests" channel, it means a StreamReader
 wants access to a slice of the buffer.  This is passed to handleReadRequest().
 
 The handleReadRequest() function takes a sliceRequest consisting of a buffer
diff --git a/services/crunch-run/crunchrun_test.go b/services/crunch-run/crunchrun_test.go
index c826a21..5ee879d 100644
--- a/services/crunch-run/crunchrun_test.go
+++ b/services/crunch-run/crunchrun_test.go
@@ -452,7 +452,7 @@ func (s *TestSuite) TestUpdateContainerRecordCancelled(c *C) {
 }
 
 // Used by the TestFullRun*() test below to DRY up boilerplate setup to do full
-// dress rehersal of the Run() function, starting from a JSON container record.
+// dress rehearsal of the Run() function, starting from a JSON container record.
 func FullRunHelper(c *C, record string, fn func(t *TestDockerClient)) (api *ArvTestClient, cr *ContainerRunner) {
 	rec := ContainerRecord{}
 	err := json.NewDecoder(strings.NewReader(record)).Decode(&rec)
diff --git a/services/datamanager/loggerutil/loggerutil.go b/services/datamanager/loggerutil/loggerutil.go
index 8c655cd..8111425 100644
--- a/services/datamanager/loggerutil/loggerutil.go
+++ b/services/datamanager/loggerutil/loggerutil.go
@@ -10,7 +10,7 @@ import (
 	"time"
 )
 
-// Useful to call at the begining of execution to log info about the
+// Useful to call at the beginning of execution to log info about the
 // current run.
 func LogRunInfo(arvLogger *logger.Logger) {
 	if arvLogger != nil {
diff --git a/services/datamanager/summary/pull_list.go b/services/datamanager/summary/pull_list.go
index aac9aec..d7fb3eb 100644
--- a/services/datamanager/summary/pull_list.go
+++ b/services/datamanager/summary/pull_list.go
@@ -71,7 +71,7 @@ func ComputePullServers(kc *keepclient.KeepClient,
 	blockToDesiredReplication map[blockdigest.DigestWithSize]int,
 	underReplicated BlockSet) (m map[Locator]PullServers) {
 	m = map[Locator]PullServers{}
-	// We use CanonicalString to avoid filling memory with dupicate
+	// We use CanonicalString to avoid filling memory with duplicate
 	// copies of the same string.
 	var cs CanonicalString
 
diff --git a/services/keepproxy/keepproxy.go b/services/keepproxy/keepproxy.go
index 7b5cd2b..4cd9310 100644
--- a/services/keepproxy/keepproxy.go
+++ b/services/keepproxy/keepproxy.go
@@ -185,7 +185,7 @@ func CheckAuthorizationHeader(kc *keepclient.KeepClient, cache *ApiTokenCache, r
 	}
 
 	if cache.RecallToken(tok) {
-		// Valid in the cache, short circut
+		// Valid in the cache, short circuit
 		return true, tok
 	}
 
diff --git a/services/keepstore/trash_worker_test.go b/services/keepstore/trash_worker_test.go
index 1d3063a..ac94061 100644
--- a/services/keepstore/trash_worker_test.go
+++ b/services/keepstore/trash_worker_test.go
@@ -163,7 +163,7 @@ func TestTrashWorkerIntegration_TwoDifferentLocatorsInVolume1(t *testing.T) {
 }
 
 /* Allow default Trash Life time to be used. Thus, the newly created block
-   will not be deleted becuase its Mtime is within the trash life time.
+   will not be deleted because its Mtime is within the trash life time.
 */
 func TestTrashWorkerIntegration_SameLocatorInTwoVolumesWithDefaultTrashLifeTime(t *testing.T) {
 	neverDelete = false

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list