Skip to content

Commit

Permalink
print helpful backend info
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Glonek committed Mar 27, 2023
1 parent 157fb4f commit 1e141cd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/cmdConfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,11 @@ func (c *configBackendCmd) Execute(args []string) error {
return err
}
}
fmt.Printf("config.backend.type=%s\n", c.Type)
fmt.Printf("Config.Backend.Type = %s\n", c.Type)
if c.Type == "aws" {
fmt.Printf("Config.Backend.Region = %s\n", c.Region)
}
fmt.Printf("Config.Backend.TmpDir = %s\n", c.TmpDir)
return nil
}

Expand Down

0 comments on commit 1e141cd

Please sign in to comment.