mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-26 16:36:26 -06:00
fmt
This commit is contained in:
parent
4015d942ab
commit
efaedbabb0
@ -51,7 +51,7 @@ func init() {
|
||||
// On Windows, this is the "terraform.rc" file in the application data
|
||||
// directory.
|
||||
func ConfigFile() (string, error) {
|
||||
return configFile()
|
||||
return configFile()
|
||||
}
|
||||
|
||||
// LoadConfig loads the CLI configuration from ".terraformrc" files.
|
||||
|
@ -32,7 +32,7 @@ func TestSetContains(t *testing.T) {
|
||||
|
||||
func TestSetDifference(t *testing.T) {
|
||||
s1 := &Set{F: testSetInt}
|
||||
s2:= &Set{F: testSetInt}
|
||||
s2 := &Set{F: testSetInt}
|
||||
|
||||
s1.Add(1)
|
||||
s1.Add(5)
|
||||
@ -49,7 +49,7 @@ func TestSetDifference(t *testing.T) {
|
||||
|
||||
func TestSetIntersection(t *testing.T) {
|
||||
s1 := &Set{F: testSetInt}
|
||||
s2:= &Set{F: testSetInt}
|
||||
s2 := &Set{F: testSetInt}
|
||||
|
||||
s1.Add(1)
|
||||
s1.Add(5)
|
||||
@ -66,7 +66,7 @@ func TestSetIntersection(t *testing.T) {
|
||||
|
||||
func TestSetUnion(t *testing.T) {
|
||||
s1 := &Set{F: testSetInt}
|
||||
s2:= &Set{F: testSetInt}
|
||||
s2 := &Set{F: testSetInt}
|
||||
|
||||
s1.Add(1)
|
||||
s1.Add(5)
|
||||
|
@ -218,7 +218,7 @@ func (c *SSHCommunicator) UploadDir(dst string, src string, excl []string) error
|
||||
if src[len(src)-1] != '/' {
|
||||
log.Printf("No trailing slash, creating the source directory name")
|
||||
return scpUploadDirProtocol(filepath.Base(src), w, r, uploadEntries)
|
||||
}
|
||||
}
|
||||
// Trailing slash, so only upload the contents
|
||||
return uploadEntries()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user