Migrate plugin host/set/catalog prefixes to typed (#2256)

* Migrate plugin host/set/catalog prefixes to typed

* Add credential store typing too
This commit is contained in:
Jeff Mitchell authored and GitHub committed 2022-07-15 13:09:55 -04:00
1 parent 674b9627af
commit 8c56a5648d
20 files changed
+178 -71

No files matched your search

@@ -194,7 +194,7 @@ func TestErrors(t *testing.T) {
apiErr = api.AsServerError(err)
assert.NotNil(apiErr)
_, err = c.Read(tc.Context(), static.CredentialPrefix+"_doesntexis")
_, err = c.Read(tc.Context(), static.UsernamePasswordCredentialPrefix+"_doesntexis")
require.Error(err)
apiErr = api.AsServerError(err)
assert.NotNil(apiErr)