Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion state/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func NewConnectedClient(ctx context.Context, backendOpts *plugin.BackendOptions)
// The state client is guaranteed to be non-nil (it defaults to the NoOpClient).
// You must call Close() on the returned Client object.
func NewConnectedClientWithOptions(ctx context.Context, backendOpts *plugin.BackendOptions, connOpts ConnectionOptions, clOpts ClientOptions) (Client, error) {
if backendOpts == nil {
if backendOpts == nil || backendOpts.Connection == "" || backendOpts.TableName == "" {
Comment thread
bbernays marked this conversation as resolved.
Outdated
return &NoOpClient{}, nil
}

Expand Down
Loading