Skip to content

Commit

Permalink
Edit comment
Browse files Browse the repository at this point in the history
  • Loading branch information
johananl committed Sep 10, 2018
1 parent 4b06032 commit a869ce5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions aws/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,8 @@ type Credentials struct {
}

// WriteToFile writes credentials to an AWS CLI credentials file
// (https://docs.aws.amazon.com/cli/latest/userguide/cli-config-files.html).
//
// In addition, this function will remove expired temporary credentials
// from the credentials file.
// (https://docs.aws.amazon.com/cli/latest/userguide/cli-config-files.html). In addition, this
// function removes expired temporary credentials from the credentials file.
func WriteToFile(c *Credentials, filename string, section string) error {
cfg, err := ini.LooseLoad(filename)
if err != nil {
Expand Down

0 comments on commit a869ce5

Please sign in to comment.