Skip to content

Commit c614009

Browse files
authored
Merge pull request #416 from ovh/yomovh/go1.20_fix
Tests fixes
2 parents aee5413 + e0025cf commit c614009

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

ovh/resource_cloud_project_kube_oidc.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ func resourceCloudProjectKubeOIDC() *schema.Resource {
9191
func resourceCloudProjectKubeOIDCImportState(d *schema.ResourceData, meta interface{}) ([]*schema.ResourceData, error) {
9292
givenId := d.Id()
9393
log.Printf("[DEBUG] Importing cloud project kube OIDC %s", givenId)
94-
fmt.Sprintf("[DEBUG] Importing cloud project kube OIDC %s", givenId)
9594

9695
splitId := strings.SplitN(givenId, "/", 3)
9796
if len(splitId) != 2 {

ovh/resource_dedicated_ceph_acl_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ func testSweepDedicatedCephACL(region string) error {
4848
var acls []DedicatedCephACL
4949
endpoint := fmt.Sprintf("/dedicated/ceph/%s/acl", url.PathEscape(serviceName))
5050

51-
if err := client.Get(endpoint, acls); err != nil {
51+
if err := client.Get(endpoint, &acls); err != nil {
5252
return fmt.Errorf("Error calling GET %s:\n\t%q", endpoint, err)
5353
}
5454

0 commit comments

Comments
 (0)