Skip to content

Commit

Permalink
fix datastream private connection sweeper (#10201) (#17597)
Browse files Browse the repository at this point in the history
* fix datastream private connection sweeper

* update

* run gofmt

[upstream:3218971e9a3a93c444b05f761bfaa89568044a48]

Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician authored Mar 14, 2024
1 parent 75c5c55 commit 0992226
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
3 changes: 3 additions & 0 deletions .changelog/10201.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
Original file line number Diff line number Diff line change
@@ -1,20 +1,5 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

// ----------------------------------------------------------------------------
//
// *** AUTO GENERATED CODE *** Type: MMv1 ***
//
// ----------------------------------------------------------------------------
//
// This file is automatically generated by Magic Modules and manual
// changes will be clobbered when the file is regenerated.
//
// Please read more about how to change this file in
// .github/CONTRIBUTING.md.
//
// ----------------------------------------------------------------------------

package datastream

import (
Expand Down Expand Up @@ -118,7 +103,7 @@ func testSweepDatastreamPrivateConnection(region string) error {
log.Printf("[INFO][SWEEPER_LOG] error preparing delete url: %s", err)
return nil
}
deleteUrl = deleteUrl + name
deleteUrl = deleteUrl + name + "?force=true"

// Don't wait on operations as we may have a lot to delete
_, err = transport_tpg.SendRequest(transport_tpg.SendRequestOptions{
Expand Down

0 comments on commit 0992226

Please sign in to comment.