summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharath Nair <snair3@agl.com.au>2022-08-04 15:36:19 +1000
committerSharath Nair <snair3@agl.com.au>2022-08-04 15:36:19 +1000
commit0662463c5122e314b9171cb98c32bc4a363fb7da (patch)
treeb4d93f40adc909c63bad8be108d9dc2cf530579c
parent5e803b10edff3a7749f4046492c050b9ea79e6a6 (diff)
Return projectID where possible
-rw-r--r--azuredevops/internal/service/serviceendpoint/commons.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/azuredevops/internal/service/serviceendpoint/commons.go b/azuredevops/internal/service/serviceendpoint/commons.go
index cef17094..a0c5085d 100644
--- a/azuredevops/internal/service/serviceendpoint/commons.go
+++ b/azuredevops/internal/service/serviceendpoint/commons.go
@@ -481,7 +481,7 @@ func dataSourceGetBaseServiceEndpoint(d *schema.ResourceData, m interface{}) (*s
return serviceEndpoint, projectID, nil
}
- return nil, nil, nil
+ return nil, projectID, nil
}
func dataSourceGetServiceEndpointByNameAndProject(clients *client.AggregatedClient, serviceEndpointName string, projectID *uuid.UUID) (*serviceendpoint.ServiceEndpoint, error) {