From 08e854c190193b68a50a58c733622816f67ae6c4 Mon Sep 17 00:00:00 2001 From: Marius Stefan Bethge Date: Wed, 29 Nov 2017 21:30:57 +0100 Subject: [PATCH] Typos --- cmd/nuke.go | 4 ++-- cmd/root.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/nuke.go b/cmd/nuke.go index d81ddff8..01232183 100644 --- a/cmd/nuke.go +++ b/cmd/nuke.go @@ -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) { @@ -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]) } } diff --git a/cmd/root.go b/cmd/root.go index edc746ba..3243c55c 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -53,7 +53,7 @@ func NewRootCommand() *cobra.Command { "limit nuking to certain resource types (eg IAMServerCertificate)") command.PersistentFlags().BoolVar( ¶ms.NoDryRun, "no-dry-run", false, - "actualy delete found resources") + "actually delete found resources") command.PersistentFlags().BoolVar( ¶ms.Force, "force", false, "don't ask for confirmation")