Skip to content

Commit

Permalink
fixed connectors GetByName method
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfmnk committed Jul 30, 2024
1 parent eb2de47 commit 89800c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloudconnexa/connectors.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func (c *ConnectorsService) GetByName(name string) (*Connector, error) {
return &connector, nil
}
}
return nil, nil
return nil, fmt.Errorf("connector %s does not exist", name)
}

func (c *ConnectorsService) GetByID(connectorID string) (*Connector, error) {
Expand Down

0 comments on commit 89800c3

Please sign in to comment.