From a9804cdf759d01e96fd39bdaf7c99fff13206945 Mon Sep 17 00:00:00 2001 From: Gyuho Lee Date: Mon, 12 Feb 2018 09:25:26 -0800 Subject: [PATCH] *: regenerate proto with typo fix "acquisition" Signed-off-by: Gyuho Lee --- Documentation/dev-guide/api_concurrency_reference_v3.md | 2 +- Documentation/dev-guide/apispec/swagger/v3lock.swagger.json | 2 +- etcdserver/api/v3lock/v3lockpb/v3lock.pb.go | 2 +- etcdserver/api/v3lock/v3lockpb/v3lock.proto | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Documentation/dev-guide/api_concurrency_reference_v3.md b/Documentation/dev-guide/api_concurrency_reference_v3.md index 7508747a0..3819a04f2 100644 --- a/Documentation/dev-guide/api_concurrency_reference_v3.md +++ b/Documentation/dev-guide/api_concurrency_reference_v3.md @@ -20,7 +20,7 @@ The lock service exposes client-side locking facilities as a gRPC interface. | Field | Description | Type | | ----- | ----------- | ---- | | name | name is the identifier for the distributed shared lock to be acquired. | bytes | -| lease | lease is the ID of the lease that will be attached to ownership of the lock. If the lease expires or is revoked and currently holds the lock, the lock is automatically released. Calls to Lock with the same lease will be treated as a single acquistion; locking twice with the same lease is a no-op. | int64 | +| lease | lease is the ID of the lease that will be attached to ownership of the lock. If the lease expires or is revoked and currently holds the lock, the lock is automatically released. Calls to Lock with the same lease will be treated as a single acquisition; locking twice with the same lease is a no-op. | int64 | diff --git a/Documentation/dev-guide/apispec/swagger/v3lock.swagger.json b/Documentation/dev-guide/apispec/swagger/v3lock.swagger.json index 464f7a071..5a844ca2e 100644 --- a/Documentation/dev-guide/apispec/swagger/v3lock.swagger.json +++ b/Documentation/dev-guide/apispec/swagger/v3lock.swagger.json @@ -107,7 +107,7 @@ "lease": { "type": "string", "format": "int64", - "description": "lease is the ID of the lease that will be attached to ownership of the\nlock. If the lease expires or is revoked and currently holds the lock,\nthe lock is automatically released. Calls to Lock with the same lease will\nbe treated as a single acquistion; locking twice with the same lease is a\nno-op." + "description": "lease is the ID of the lease that will be attached to ownership of the\nlock. If the lease expires or is revoked and currently holds the lock,\nthe lock is automatically released. Calls to Lock with the same lease will\nbe treated as a single acquisition; locking twice with the same lease is a\nno-op." } } }, diff --git a/etcdserver/api/v3lock/v3lockpb/v3lock.pb.go b/etcdserver/api/v3lock/v3lockpb/v3lock.pb.go index 071d0ae24..8d78c6d0d 100644 --- a/etcdserver/api/v3lock/v3lockpb/v3lock.pb.go +++ b/etcdserver/api/v3lock/v3lockpb/v3lock.pb.go @@ -50,7 +50,7 @@ type LockRequest struct { // lease is the ID of the lease that will be attached to ownership of the // lock. If the lease expires or is revoked and currently holds the lock, // the lock is automatically released. Calls to Lock with the same lease will - // be treated as a single acquistion; locking twice with the same lease is a + // be treated as a single acquisition; locking twice with the same lease is a // no-op. Lease int64 `protobuf:"varint,2,opt,name=lease,proto3" json:"lease,omitempty"` } diff --git a/etcdserver/api/v3lock/v3lockpb/v3lock.proto b/etcdserver/api/v3lock/v3lockpb/v3lock.proto index 44b698d66..a71b70a19 100644 --- a/etcdserver/api/v3lock/v3lockpb/v3lock.proto +++ b/etcdserver/api/v3lock/v3lockpb/v3lock.proto @@ -42,7 +42,7 @@ message LockRequest { // lease is the ID of the lease that will be attached to ownership of the // lock. If the lease expires or is revoked and currently holds the lock, // the lock is automatically released. Calls to Lock with the same lease will - // be treated as a single acquistion; locking twice with the same lease is a + // be treated as a single acquisition; locking twice with the same lease is a // no-op. int64 lease = 2; }