Fix all instances where 'propagate' was mispelled as 'propogate'

Signed-off-by: Ying Li <ying.li@docker.com>
This commit is contained in:
Ying Li 2015-12-10 15:12:05 -08:00
parent b69c200038
commit 6aa114a49f
5 changed files with 9 additions and 9 deletions

View File

@ -297,7 +297,7 @@ func TestGetTrustServiceTLSFailure(t *testing.T) {
assert.Equal(t, 0, registerCalled)
}
// Just to ensure that errors are propogated
// Just to ensure that errors are propagated
func TestGetStoreInvalid(t *testing.T) {
config := `{"storage": {"backend": "asdf", "db_url": "/tmp/1234"}}`

View File

@ -37,7 +37,7 @@ func configure(jsonConfig string) *viper.Viper {
// If the TLS configuration is invalid, an error is returned. This doesn't test
// all the cases of the TLS configuration being invalid, since it's just
// calling configuration.ParseTLSConfig - this test just makes sure the
// error is propogated.
// error is propagated.
func TestGetAddrAndTLSConfigInvalidTLS(t *testing.T) {
invalids := []string{
`{"server": {"http_addr": ":1234", "grpc_addr": ":2345"}}`,

View File

@ -313,9 +313,9 @@ func TestGetHandlerNoStorage(t *testing.T) {
}
// a validation failure, such as a snapshots file being missing, will be
// propogated as a detail in the error (which gets serialized as the body of the
// propagated as a detail in the error (which gets serialized as the body of the
// response)
func TestAtomicUpdateValidationFailurePropogated(t *testing.T) {
func TestAtomicUpdateValidationFailurePropagated(t *testing.T) {
metaStore := storage.NewMemStorage()
gun := "testGUN"
vars := map[string]string{"imageName": gun}
@ -354,9 +354,9 @@ func (s failStore) GetCurrent(_, _ string) ([]byte, error) {
return nil, fmt.Errorf("oh no! storage has failed")
}
// a non-validation failure, such as the storage failing, will not be propogated
// a non-validation failure, such as the storage failing, will not be propagated
// as a detail in the error (which gets serialized as the body of the response)
func TestAtomicUpdateNonValidationFailureNotPropogated(t *testing.T) {
func TestAtomicUpdateNonValidationFailureNotPropagated(t *testing.T) {
metaStore := storage.NewMemStorage()
gun := "testGUN"
vars := map[string]string{"imageName": gun}

View File

@ -64,8 +64,8 @@ func testGetSuccessFromCache(t *testing.T, dbStore *KeyDBStore,
testGetSuccess(t, dbStore, expectedKey)
}
// Creating a new KeyDBStore propogates any db opening error
func TestNewKeyDBStorePropogatesDBError(t *testing.T) {
// Creating a new KeyDBStore propagates any db opening error
func TestNewKeyDBStorePropagatesDBError(t *testing.T) {
dbStore, err := NewKeyDBStore(retriever, "ignoredalias", "nodb", "somestring")
assert.Error(t, err)
assert.Nil(t, dbStore)

View File

@ -46,7 +46,7 @@ func (err ErrMaliciousServer) Error() string {
}
// ErrInvalidOperation indicates that the server returned a 400 response and
// propogate any body we received.
// propagate any body we received.
type ErrInvalidOperation struct {
msg string
}