Skip to content

Commit 10c189a

Browse files
ccushingcodycushing
authored andcommitted
go fmt files
1 parent 734fdee commit 10c189a

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

crud/helpers.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ func handleMissingResourceError(sync ResourceVoider, err *error) {
6969

7070
if err != nil {
7171
if strings.Contains((*err).Error(), "does not exist") ||
72-
strings.Contains((*err).Error(), " not present in ") ||
73-
strings.Contains((*err).Error(), "resource not found") ||
74-
(strings.Contains((*err).Error(), "Load balancer") && strings.Contains((*err).Error(), " has no ")) {
72+
strings.Contains((*err).Error(), " not present in ") ||
73+
strings.Contains((*err).Error(), "resource not found") ||
74+
(strings.Contains((*err).Error(), "Load balancer") && strings.Contains((*err).Error(), " has no ")) {
7575
log.Println("[DEBUG] Object does not exist, voiding resource and nullifying error")
7676
sync.VoidState()
7777
*err = nil

resource_obmcs_core_security_list_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ func (s *ResourceCoreSecurityListTestSuite) TestCreateResourceCoreSecurityListRe
146146
})
147147
}
148148

149-
150149
func (s *ResourceCoreSecurityListTestSuite) TestDeleteSecurityList() {
151150

152151
resource.UnitTest(s.T(), resource.TestCase{

resource_obmcs_loadbalancer_backend_set.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ func (s *LoadBalancerBackendSetResourceCrud) SetData() {
184184
"port": s.Resource.HealthChecker.Port,
185185
"protocol": s.Resource.HealthChecker.Protocol,
186186
"response_body_regex": s.Resource.HealthChecker.ResponseBodyRegex,
187-
"url_path": s.Resource.HealthChecker.URLPath,
187+
"url_path": s.Resource.HealthChecker.URLPath,
188188
})
189189
}
190190

resource_obmcs_loadbalancer_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,6 @@ func (s *ResourceLoadBalancerTestSuite) TestCreateResourceLoadBalancerMaximal()
127127
resource.TestCheckResourceAttr("baremetal_load_balancer_backendset.no_cert", "name", "stub_backendset_name_no_cert"),
128128
resource.TestCheckResourceAttr("baremetal_load_balancer_backendset.no_cert", "health_checker.0.port", "1234"),
129129

130-
131130
// Listener
132131
resource.TestCheckResourceAttr("baremetal_load_balancer_listener.t", "name", "stub_listener_name"),
133132

0 commit comments

Comments
 (0)