Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Add secret path to all secret not found errors #183

Merged
merged 2 commits into from
Apr 17, 2020

Conversation

Marton6
Copy link
Member

@Marton6 Marton6 commented Apr 15, 2020

Return errSecretNotFound from both SecretVersionService when secrets are listed and SecretService when get method is called.

The goal of this PR is to make the client always return errSecretNotFound when a secret is not found as opposed to a server error (ErrSecretNotFound) when listing secret versions and getting secrets and the client error: errSecretNotFound when getting secret versions.

@SimonBarendse SimonBarendse changed the title Consistent not found errors Add secret path to all secret not found errors Apr 17, 2020
@SimonBarendse SimonBarendse merged commit 9ba6b3c into develop Apr 17, 2020
@SimonBarendse SimonBarendse deleted the feature/consistent-not-found-errors branch April 17, 2020 12:12
@Marton6 Marton6 restored the feature/consistent-not-found-errors branch May 5, 2020 11:14
@Marton6 Marton6 deleted the feature/consistent-not-found-errors branch May 5, 2020 11:16
@florisvdg florisvdg mentioned this pull request May 6, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants