diff --git a/README.md b/README.md index d846e2bcb..5d4c507fc 100644 --- a/README.md +++ b/README.md @@ -158,7 +158,7 @@ To build the daemon and `ctr` simple test client, the following build system dep * Protoc 3.x compiler and headers (download at the [Google protobuf releases page](https://github.com/google/protobuf/releases)) * Btrfs headers and libraries for your distribution. Note that building the btrfs driver can be disabled via build tag removing this dependency. -For proper results, install the `protoc` release into `/usr/local` on your build system. For example, the following commands will download and install the 3.1.0 release for a 64-bit Linux host: +For proper results, install the `protoc` release into `/usr/local` on your build system. For example, the following commands will download and install the 3.5.0 release for a 64-bit Linux host: ``` $ wget -c https://github.com/google/protobuf/releases/download/v3.5.0/protoc-3.5.0-linux-x86_64.zip diff --git a/api/services/leases/v1/leases.pb.go b/api/services/leases/v1/leases.pb.go index 5e446ce2b..a922fdeb5 100644 --- a/api/services/leases/v1/leases.pb.go +++ b/api/services/leases/v1/leases.pb.go @@ -133,7 +133,7 @@ type LeasesClient interface { // during the lease eligible for garbage collection if not referenced // or retained by other resources during the lease. Delete(ctx context.Context, in *DeleteRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) - // ListTransactions lists all active leases, returning the full list of + // List lists all active leases, returning the full list of // leases and optionally including the referenced resources. List(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (*ListResponse, error) } @@ -183,7 +183,7 @@ type LeasesServer interface { // during the lease eligible for garbage collection if not referenced // or retained by other resources during the lease. Delete(context.Context, *DeleteRequest) (*google_protobuf1.Empty, error) - // ListTransactions lists all active leases, returning the full list of + // List lists all active leases, returning the full list of // leases and optionally including the referenced resources. List(context.Context, *ListRequest) (*ListResponse, error) } diff --git a/api/services/leases/v1/leases.proto b/api/services/leases/v1/leases.proto index 5563b621d..1002a2d6e 100644 --- a/api/services/leases/v1/leases.proto +++ b/api/services/leases/v1/leases.proto @@ -19,7 +19,7 @@ service Leases { // or retained by other resources during the lease. rpc Delete(DeleteRequest) returns (google.protobuf.Empty); - // ListTransactions lists all active leases, returning the full list of + // List lists all active leases, returning the full list of // leases and optionally including the referenced resources. rpc List(ListRequest) returns (ListResponse); } diff --git a/gc/gc.go b/gc/gc.go index 70838a762..66898c5de 100644 --- a/gc/gc.go +++ b/gc/gc.go @@ -36,7 +36,7 @@ func Tricolor(roots []Node, refs func(ref Node) ([]Node, error)) (map[Node]struc var ( grays []Node // maintain a gray "stack" seen = map[Node]struct{}{} // or not "white", basically "seen" - reachable = map[Node]struct{}{} // or "block", in tri-color parlance + reachable = map[Node]struct{}{} // or "black", in tri-color parlance ) grays = append(grays, roots...)