logical/aws: Fix typo in warning message (#2747)

Signed-off-by: Steffen Prohaska <prohaska@zib.de>
This commit is contained in:
sprohaska
2017-05-19 12:20:54 +02:00
committed by Vishal Nayak
parent eecebf88e3
commit 3ba9486ba9

View File

@@ -53,7 +53,7 @@ func genUsername(displayName, policyName, userType string) (ret string, warning
normalizeDisplayName(policyName))
if len(midString) > 42 {
midString = midString[0:42]
warning = "the calling token display name/IAM policy name were truncated to find into IAM username length limits"
warning = "the calling token display name/IAM policy name were truncated to fit into IAM username length limits"
}
case "sts":
// Capped at 32 chars, which leaves only a couple of characters to play