Skip to content

Commit

Permalink
removed unneeded formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
hilts-vaughan committed Apr 15, 2020
1 parent ef08f32 commit 41a7b3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/cloud_sql_proxy/cloud_sql_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ func checkInstanceConnectivity(instanceName string, public bool, client *proxy.C
conn, err := client.Dial(instanceName)

if conn != nil {
defer conn.Close()
conn.Close()
}

if err != nil {
Expand Down Expand Up @@ -568,7 +568,7 @@ func main() {
err := checkInstanceConnectivity(instance, isPublic, client);

if err != nil {
log.Fatalf("Connectivity failed for %s with: %v", instance, err)
log.Fatalf("%v", instance, err)
}
}(index, instanceConfig.Instance, instanceConfig.IsPublic, proxyClient)
}
Expand Down

0 comments on commit 41a7b3c

Please sign in to comment.