diff options
author | 2019-10-01 10:12:10 +0330 | |
---|---|---|
committer | 2019-10-01 07:42:10 +0100 | |
commit | 4ffbee299a751591ae98d7f07d3c721b819906c1 (patch) | |
tree | 8bcdddb3d71ba4a6b755f3352a44a7693e01fc65 /plugin/clouddns/setup.go | |
parent | dbd1c047cb973fc669fbe4e97dc12e7b3d3e6ed8 (diff) | |
download | coredns-4ffbee299a751591ae98d7f07d3c721b819906c1.tar.gz coredns-4ffbee299a751591ae98d7f07d3c721b819906c1.tar.zst coredns-4ffbee299a751591ae98d7f07d3c721b819906c1.zip |
Remove deprecated function calls flagged by staticcheck (#3333)
* Use session.NewSession instead of session.New
Signed-off-by: Erfan Besharat <erbesharat@gmail.com>
* Use grpc.DialContext instead of grpc.WithTimeout
Signed-off-by: Erfan Besharat <erbesharat@gmail.com>
* Pass non-nil context to context.WithTimeout
Signed-off-by: Erfan Besharat <erbesharat@gmail.com>
* Return the error directly in route53 setup
Co-Authored-By: Miek Gieben <miek@miek.nl>
Signed-off-by: Erfan Besharat <erbesharat@gmail.com>
Diffstat (limited to 'plugin/clouddns/setup.go')
0 files changed, 0 insertions, 0 deletions