diff --git a/cloudconnexa/connectors.go b/cloudconnexa/connectors.go index e0f62c8..ebf85de 100644 --- a/cloudconnexa/connectors.go +++ b/cloudconnexa/connectors.go @@ -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) {