Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(client): remove duplicate processing #15032

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
19d01d2
client: enhance the function shouldRetryWatch and added unit test
ahrtr Dec 12, 2022
ab5ed97
clientv3: define local variables errMsgGRPCInvalidAuthToken and errMs…
ahrtr Dec 12, 2022
222e265
resolver: cleanup of deprecated grpc resolver target.Endpoint field
ramil600 Dec 10, 2022
2d9360f
dependabot: change schedule interval to weekly
ahrtr Dec 13, 2022
20ff0d1
deps: bump go.uber.org/zap from 1.21.0 to 1.24.0
ahrtr Dec 13, 2022
0fc35e6
deps: bump github.com/spf13/cobra from 1.4.0 to 1.6.1
ahrtr Dec 13, 2022
8cd8a87
deps: bump github.com/coreos/go-systemd/v22 from 22.3.2 to 22.5.0
ahrtr Dec 13, 2022
f5d4828
deps: bump github.com/prometheus/client_golang from 1.12.2 to 1.14.0
ahrtr Dec 13, 2022
9bfa494
deps: bump github.com/creack/pty from 1.1.11 to 1.1.18 in /pkg
ahrtr Dec 13, 2022
b4a8411
deps: bump gotest.tools/gotestsum from 1.7.0 to 1.8.2 in /tools/mod
ahrtr Dec 13, 2022
1e2121e
deps: bump go.uber.org/multierr from 1.8.0 to 1.9.0 in /server
ahrtr Dec 13, 2022
b53c599
deps: bump github.com/cheggaaa/pb/v3 from 3.0.8 to 3.1.0 in /etcdctl
ahrtr Dec 13, 2022
f07e76d
deps: bump google.golang.org/protobuf from 1.28.0 to 1.28.1
ahrtr Dec 13, 2022
d92067c
deps: bump github.com/mgechev/revive from 1.2.1 to 1.2.4 in /tools/mod
ahrtr Dec 13, 2022
f8ae922
deps: bump gotest.tools/v3 from 3.1.0 to 3.4.0 in /tools/mod
ahrtr Dec 13, 2022
61c736f
deps: bump github.com/google/addlicense from 1.0.0 to 1.1.0 in /tools…
ahrtr Dec 13, 2022
8082df4
deps: bump github.com/mikefarah/yq/v4 from 4.24.2 to 4.30.5 in /tools…
ahrtr Dec 13, 2022
f3b49ac
deps: bump github.com/golang-jwt/jwt/v4 from 4.4.2 to 4.4.3 in /server
ahrtr Dec 13, 2022
8e68820
deps: bump go.opentelemetry.io/otel from 1.7.0 to 1.11.2
ahrtr Dec 13, 2022
d71f5fa
deps: bump go.opentelemetry.io/contrib/instrumentation/google.golang.…
ahrtr Dec 13, 2022
7ed41e4
build(deps): bump github.com/anishathalye/porcupine in /tests
dependabot[bot] Dec 13, 2022
e339e2d
build(deps): bump honnef.co/go/tools from 0.3.0 to 0.3.3 in /tools/mod
dependabot[bot] Dec 14, 2022
79f2a2d
etcd: add `trivy-nightly-scan` for etcd images
ArkaSaha30 Dec 12, 2022
6ef53d5
Add newline at end of file
ArkaSaha30 Dec 12, 2022
350ed2f
Add `permissions: read-all` to the workflow
ArkaSaha30 Dec 13, 2022
5a16025
build(deps): bump github.com/alexkohler/nakedret in /tools/mod
dependabot[bot] Dec 14, 2022
623f17c
build(deps): bump actions/setup-go from 2.2.0 to 3.5.0
dependabot[bot] Dec 13, 2022
dddd7f5
changelog: added item to cover the rollback to fix 'auth invalid toke…
ahrtr Dec 14, 2022
453f2fb
tests(etcdserver): add server_access_control_test.go
Dec 15, 2022
5a3cc28
tests(etcdserver): refactor
Dec 16, 2022
5f4583b
fix doc etcdd.io -> etcd.io
j13tw Dec 16, 2022
eb04fa2
Move trivy scan workflow of specific versions to respective branches
ArkaSaha30 Dec 16, 2022
6996591
e2e: deflake TestCtlV3AuthGracefulDisable
fuweid Dec 15, 2022
24da8e1
tests/common: migrate auth tests #1
chaochn47 Dec 14, 2022
3febe2c
maintenance: add test to verify content of Snapshot
fuweid Dec 16, 2022
ec41482
lease: fix potential goroutine leak in lessor_test.go
BarrensZeppelin Nov 30, 2022
aaef3ff
lease: increase renew timeout to 10s
BarrensZeppelin Dec 1, 2022
20e08b3
clientv3/concurrency: add logger to session, add unit test
ramil600 Dec 14, 2022
5e71066
changelog: update items to address the critical and high Vulnerabilities
ahrtr Dec 19, 2022
329c148
build(deps): bump github.com/mikefarah/yq/v4 in /tools/mod
dependabot[bot] Dec 19, 2022
6daadce
build(deps): bump github/codeql-action from 2.1.36 to 2.1.37
dependabot[bot] Dec 19, 2022
63f7c71
build(deps): bump ossf/scorecard-action from 2.0.6 to 2.1.0
dependabot[bot] Dec 19, 2022
14a9966
test(client): add credentials_test.go
Dec 17, 2022
f76dc8e
Improve memberList output consistency
unai-ttxu Dec 19, 2022
db0514a
refactor(client): remove duplicate processing
Dec 20, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,60 +3,60 @@ updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
interval: weekly

- package-ecosystem: gomod
directory: /api
schedule:
interval: daily
interval: weekly

- package-ecosystem: gomod
directory: /client/pkg
schedule:
interval: daily
interval: weekly

- package-ecosystem: gomod
directory: /client/v2
schedule:
interval: daily
interval: weekly

- package-ecosystem: gomod
directory: /client/v3
schedule:
interval: daily
interval: weekly

- package-ecosystem: gomod
directory: /etcdctl
schedule:
interval: daily
interval: weekly

- package-ecosystem: gomod
directory: /etcdutl
schedule:
interval: daily
interval: weekly

- package-ecosystem: gomod
directory: /
schedule:
interval: daily
interval: weekly

- package-ecosystem: gomod
directory: /pkg
schedule:
interval: daily
interval: weekly

- package-ecosystem: gomod
directory: /server
schedule:
interval: daily
interval: weekly

- package-ecosystem: gomod
directory: /tests
schedule:
interval: daily
interval: weekly

- package-ecosystem: gomod
directory: /tools/mod
schedule:
interval: daily
interval: weekly

2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- linux-s390x
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
- uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2.2.0
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
with:
go-version: "1.19.4"
- env:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@a669cc5936cc5e1b6a362ec1ff9e410dc570d190 # v2.1.36
uses: github/codeql-action/init@959cbb7472c4d4ad70cdfe6f4976053fe48ab394 # v2.1.37
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -56,7 +56,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@a669cc5936cc5e1b6a362ec1ff9e410dc570d190 # v2.1.36
uses: github/codeql-action/autobuild@959cbb7472c4d4ad70cdfe6f4976053fe48ab394 # v2.1.37

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -70,4 +70,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@a669cc5936cc5e1b6a362ec1ff9e410dc570d190 # v2.1.36
uses: github/codeql-action/analyze@959cbb7472c4d4ad70cdfe6f4976053fe48ab394 # v2.1.37
2 changes: 1 addition & 1 deletion .github/workflows/contrib.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
- uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2.2.0
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
with:
go-version: "1.19.4"
- run: make -C contrib/mixin tools test
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- linux-amd64-coverage
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
- uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2.2.0
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
with:
go-version: "1.19.4"
- env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- linux-386-e2e
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
- uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2.2.0
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
with:
go-version: "1.19.4"
- run: date
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/functional.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- linux-amd64-functional
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
- uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2.2.0
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
with:
go-version: "1.19.4"
- run: date
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/fuzzing.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
TARGET_PATH: ./server/etcdserver/api/v3rpc
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
- uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2.2.0
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
with:
go-version: "1.19.4"
- run: GOARCH=amd64 CPU=4 make fuzz
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/govuln.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
- uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2.2.0
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
with:
go-version: "1.19.4"
- run: date
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/grpcproxy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- linux-amd64-grpcproxy-e2e
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
- uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2.2.0
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
with:
go-version: "1.19.4"
- run: date
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linearizability-nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
timeout-minutes: 180
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
- uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2.2.0
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
with:
go-version: "1.19.4"
- run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/linearizability.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
- uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2.2.0
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
with:
go-version: "1.19.4"
- run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
- uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2.2.0
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
with:
go-version: "1.19.4"
- run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@99c53751e09b9529366343771cc321ec74e9bd3d # tag=v2.0.6
uses: ossf/scorecard-action@e38b1902ae4f44df626f11ba0734b14fb91f8f86 # tag=v2.1.2
with:
results_file: results.sarif
results_format: sarif
Expand All @@ -49,6 +49,6 @@ jobs:

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@5f532563584d71fdef14ee64d17bafb34f751ce5 # tag=v1.0.26
uses: github/codeql-action/upload-sarif@959cbb7472c4d4ad70cdfe6f4976053fe48ab394 # tag=v1.0.26
with:
sarif_file: results.sarif
3 changes: 2 additions & 1 deletion .github/workflows/static-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
- uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2.2.0
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
with:
go-version: "1.19.4"
- name: golangci-lint
Expand All @@ -17,5 +17,6 @@ jobs:
uses: arduino/setup-protoc@64c0c85d18e984422218383b81c52f8b077404d3 # v1.1.2
with:
version: '3.14.0'
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: make verify
- run: make fix
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- linux-386-unit-1-cpu
steps:
- uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
- uses: actions/setup-go@bfdd3570ce990073878bf10f6b2d79082de49492 # v2.2.0
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568 # v3.5.0
with:
go-version: "1.19.4"
- run: date
Expand Down
16 changes: 15 additions & 1 deletion CHANGELOG/CHANGELOG-3.4.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
Previous change logs can be found at [CHANGELOG-3.3](https://github.com/etcd-io/etcd/blob/main/CHANGELOG/CHANGELOG-3.3.md).

<hr>
## v3.4.24 (TBD)

## v3.4.23 (TBD)
### Other
- Updated [base image from base-debian11 to static-debian11 and removed dependency on busybox](https://github.com/etcd-io/etcd/pull/15038).

<hr>

## v3.4.23 (2022-12-21)

### Package `clientv3`
- Fix [Refreshing token on CommonName based authentication causes segmentation violation in client](https://github.com/etcd-io/etcd/pull/14792).
Expand All @@ -13,6 +19,14 @@ Previous change logs can be found at [CHANGELOG-3.3](https://github.com/etcd-io/
- Fix [Remove memberID from data corrupt alarm](https://github.com/etcd-io/etcd/pull/14853).
- Fix [nil pointer panic for readonly txn due to nil response](https://github.com/etcd-io/etcd/pull/14900).

### Security
- Use [distroless base image](https://github.com/etcd-io/etcd/pull/15017) to address critical Vulnerabilities.
- Bumped [some dependencies](https://github.com/etcd-io/etcd/pull/15019) to address some HIGH Vulnerabilities.

### Go
- Require [Go 1.17+](https://github.com/etcd-io/etcd/pull/15019).
- Compile with [Go 1.17+](https://go.dev/doc/devel/release#go1.17)

<hr>

## v3.4.22 (2022-11-02)
Expand Down
12 changes: 12 additions & 0 deletions CHANGELOG/CHANGELOG-3.5.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,18 @@ Previous change logs can be found at [CHANGELOG-3.4](https://github.com/etcd-io/
- Fix [Allow non mutating requests pass through quotaKVServer when NOSPACE](https://github.com/etcd-io/etcd/pull/14884).
- Fix [nil pointer panic for readonly txn due to nil response](https://github.com/etcd-io/etcd/pull/14899).

### Package `clientv3`
- Reverted the fix to [auth invalid token and old revision errors in watch](https://github.com/etcd-io/etcd/pull/14995).

### Security
- Use [distroless base image](https://github.com/etcd-io/etcd/pull/15016) to address critical Vulnerabilities.
- Updated [base image from base-debian11 to static-debian11 and removed dependency on busybox](https://github.com/etcd-io/etcd/pull/15037).
- Bumped [some dependencies](https://github.com/etcd-io/etcd/pull/15018) to address some HIGH Vulnerabilities.

### Go
- Require [Go 1.17+](https://github.com/etcd-io/etcd/pull/15019).
- Compile with [Go 1.17+](https://go.dev/doc/devel/release#go1.17)


<hr>

Expand Down
14 changes: 5 additions & 9 deletions Dockerfile-release.amd64
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
FROM --platform=linux/amd64 busybox:1.34.1 as source
FROM --platform=linux/amd64 gcr.io/distroless/base-debian11

COPY --from=source /bin/sh /bin/sh
COPY --from=source /bin/mkdir /bin/mkdir
FROM --platform=linux/amd64 gcr.io/distroless/static-debian11

ADD etcd /usr/local/bin/
ADD etcdctl /usr/local/bin/
ADD etcdutl /usr/local/bin/
RUN mkdir -p /var/etcd/
RUN mkdir -p /var/lib/etcd/

WORKDIR /var/etcd/
WORKDIR /var/lib/etcd/

# Alpine Linux doesn't use pam, which means that there is no /etc/nsswitch.conf,
# but Golang relies on /etc/nsswitch.conf to check the order of DNS resolving
# (see https://github.com/golang/go/commit/9dee7771f561cf6aee081c0af6658cc81fac3918)
# To fix this we just create /etc/nsswitch.conf and add the following line:
RUN echo 'hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4' >> /etc/nsswitch.conf
ADD nsswitch.conf /etc/nsswitch.conf

EXPOSE 2379 2380

Expand Down
12 changes: 4 additions & 8 deletions Dockerfile-release.arm64
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
FROM --platform=linux/arm64 busybox:1.34.1 as source
FROM --platform=linux/arm64 gcr.io/distroless/base-debian11

COPY --from=source /bin/sh /bin/sh
COPY --from=source /bin/mkdir /bin/mkdir
FROM --platform=linux/arm64 gcr.io/distroless/static-debian11

ADD etcd /usr/local/bin/
ADD etcdctl /usr/local/bin/
ADD etcdutl /usr/local/bin/
ADD var/etcd /var/etcd
ADD var/lib/etcd /var/lib/etcd
ENV ETCD_UNSUPPORTED_ARCH=arm64

WORKDIR /var/etcd/
WORKDIR /var/lib/etcd/

EXPOSE 2379 2380

Expand Down
11 changes: 4 additions & 7 deletions Dockerfile-release.ppc64le
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
FROM --platform=linux/ppc64le busybox:1.34.1 as source
FROM --platform=linux/ppc64le gcr.io/distroless/base-debian11

COPY --from=source /bin/sh /bin/sh
COPY --from=source /bin/mkdir /bin/mkdir
FROM --platform=linux/ppc64le gcr.io/distroless/static-debian11

ADD etcd /usr/local/bin/
ADD etcdctl /usr/local/bin/
ADD etcdutl /usr/local/bin/
ADD var/etcd /var/etcd
ADD var/lib/etcd /var/lib/etcd

WORKDIR /var/etcd/
WORKDIR /var/lib/etcd/

EXPOSE 2379 2380

Expand Down
12 changes: 4 additions & 8 deletions Dockerfile-release.s390x
Original file line number Diff line number Diff line change
@@ -1,15 +1,11 @@
FROM --platform=linux/s390x busybox:1.34.1 as source
FROM --platform=linux/s390x gcr.io/distroless/base-debian11

COPY --from=source /bin/sh /bin/sh
COPY --from=source /bin/mkdir /bin/mkdir

FROM --platform=linux/s390x gcr.io/distroless/static-debian11

ADD etcd /usr/local/bin/
ADD etcdctl /usr/local/bin/
ADD etcdutl /usr/local/bin/
ADD var/etcd /var/etcd
ADD var/lib/etcd /var/lib/etcd

WORKDIR /var/etcd/
WORKDIR /var/lib/etcd/

EXPOSE 2379 2380

Expand Down
2 changes: 1 addition & 1 deletion Documentation/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
This directory includes etcd project internal documentation for new and existing contributors.

For user and developer documentation please go to [etcdd.io](https://etcd.io/),
For user and developer documentation please go to [etcd.io](https://etcd.io/),
which is developed in [website](https://github.com/etcd-io/website/) repo.
2 changes: 1 addition & 1 deletion api/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ require (
golang.org/x/net v0.4.0 // indirect
golang.org/x/sys v0.3.0 // indirect
golang.org/x/text v0.5.0 // indirect
google.golang.org/protobuf v1.27.1 // indirect
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Expand Down
3 changes: 2 additions & 1 deletion api/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,9 @@ google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpAD
google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c=
google.golang.org/protobuf v1.26.0-rc.1/go.mod h1:jlhhOSvTdKEhbULTjvd4ARK9grFBp09yW+WbY/TyQbw=
google.golang.org/protobuf v1.26.0/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.27.1 h1:SnqbnDw1V7RiZcXPx5MEeqPv2s79L9i7BJUlG/+RurQ=
google.golang.org/protobuf v1.27.1/go.mod h1:9q0QmTI4eRPtz6boOQmLYwt+qCgq0jsYwAQnmE0givc=
google.golang.org/protobuf v1.28.1 h1:d0NfwRgPtno5B1Wa6L2DAG+KivqkdutMf1UhdNx175w=
google.golang.org/protobuf v1.28.1/go.mod h1:HV8QOd/L58Z+nl8r43ehVNZIU/HEI6OcFqwMG9pJV4I=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405 h1:yhCVgyC4o1eVCa2tZl7eS0r+SDo693bJlVdllGtEeKM=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
Expand Down
Loading