Skip to content

chore(rdb): remove deprecated packages #2233

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

Merged
merged 6 commits into from
Nov 21, 2023

Conversation

Mia-Cross
Copy link
Contributor

@Mia-Cross Mia-Cross commented Nov 16, 2023

This PR replaces usage of deprecated package ioutil by io and resource by retry.

The only deprecated elements left in the rdb area are the endpoint_ip and endpoint_port fields (because instance.Endpoint is deprecated in the rdb API), should they be removed now also ?

EDIT: just noticed that there already was an issue open for this particular topic (#1377) so this belongs in another PR.

@Mia-Cross Mia-Cross added dependencies rdb Managed MySQL and PostgreSQL issues, bugs and feature requests priority:high New features labels Nov 16, 2023
@Mia-Cross Mia-Cross self-assigned this Nov 16, 2023
@codecov-commenter
Copy link

codecov-commenter commented Nov 16, 2023

Codecov Report

Attention: 18 lines in your changes are missing coverage. Please review.

Comparison is base (2efb195) 73.30% compared to head (f21c4e2) 73.31%.

Files Patch % Lines
scaleway/resource_rdb_privilege.go 23.07% 10 Missing ⚠️
scaleway/resource_rdb_user.go 25.00% 6 Missing ⚠️
scaleway/resource_rdb_database.go 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2233      +/-   ##
==========================================
+ Coverage   73.30%   73.31%   +0.01%     
==========================================
  Files         213      213              
  Lines       33753    33753              
==========================================
+ Hits        24742    24746       +4     
+ Misses       6885     6881       -4     
  Partials     2126     2126              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Mia-Cross Mia-Cross marked this pull request as ready for review November 16, 2023 17:19
@remyleone remyleone added this pull request to the merge queue Nov 21, 2023
Merged via the queue into scaleway:master with commit 27e9100 Nov 21, 2023
@Mia-Cross Mia-Cross deleted the rdb_remove_deprecated branch March 13, 2024 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies priority:high New features rdb Managed MySQL and PostgreSQL issues, bugs and feature requests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants