Merge pull request #12441 from vlajos/typofixes-vlajos-20150807

typofix - https://github.com/vlajos/misspell_fixer
This commit is contained in:
Marek Grabowski
2015-08-10 16:33:52 +02:00
108 changed files with 150 additions and 150 deletions

View File

@@ -490,7 +490,7 @@ func (e *Etcd) WatchPredicate(ctx api.Context, m generic.Matcher, resourceVersio
// if the TTL cannot be calculated. The defaultTTL is changed to 1 if less than zero. Zero means
// no TTL, not expire immediately.
func (e *Etcd) calculateTTL(obj runtime.Object, defaultTTL int64, update bool) (ttl uint64, err error) {
// etcd may return a negative TTL for a node if the expiration has not occured due
// etcd may return a negative TTL for a node if the expiration has not occurred due
// to server lag - we will ensure that the value is at least set.
if defaultTTL < 0 {
defaultTTL = 1

View File

@@ -40,6 +40,6 @@ type RangeRegistry interface {
// or an error if the allocation could not be retrieved.
Get() (*api.RangeAllocation, error)
// CreateOrUpdate should create or update the provide allocation, unless a conflict
// has occured since the item was last created.
// has occurred since the item was last created.
CreateOrUpdate(*api.RangeAllocation) error
}