Skip to content

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
bethge committed Dec 2, 2017
1 parent 0ce0efb commit 08e854c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmd/nuke.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func (n *Nuke) ValidateAccount() error {
if !n.Config.HasBlacklist() {
return fmt.Errorf("The config file contains an empty blacklist. " +
"For safety reasons you need to specify at least one account ID. " +
"This should be you production account.")
"This should be your production account.")
}

if n.Config.InBlacklist(accountID) {
Expand All @@ -189,7 +189,7 @@ func (n *Nuke) ValidateAccount() error {

for _, alias := range aliases {
if strings.Contains(strings.ToLower(*alias), "prod") {
return fmt.Errorf("You are trying to nuke a account with the alias '%s', "+
return fmt.Errorf("You are trying to nuke an account with the alias '%s', "+
"but it has the substring 'prod' in it. Aborting.", *aliases[0])
}
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ func NewRootCommand() *cobra.Command {
"limit nuking to certain resource types (eg IAMServerCertificate)")
command.PersistentFlags().BoolVar(
&params.NoDryRun, "no-dry-run", false,
"actualy delete found resources")
"actually delete found resources")
command.PersistentFlags().BoolVar(
&params.Force, "force", false,
"don't ask for confirmation")
Expand Down

0 comments on commit 08e854c

Please sign in to comment.