Skip to content

.FilterForCompatible doesnt propagate metadata or errors #330

@jacobweinstock

Description

@jacobweinstock

If a user or password is incorrect .FilterForCompatible will remove all providers and there is no way to get any error messages or even metadata. This is an example output when i use an incorrect password and call cl.FilterForCompatible(ctx):

/home/tink/repos/bmc/bmclib/client_test.go:26: metadata: {SuccessfulProvider: ProvidersAttempted:[] SuccessfulOpenConns:[] SuccessfulCloseConns:[]}
/home/tink/repos/bmc/bmclib/client_test.go:30: 1 error occurred:
        * no Opener implementations found

This might certainly be an issue to resolve in https://github.com/jacobweinstock/registrar/.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions