Skip to content

Commit

Permalink
Fix go 1.15 build (#290)
Browse files Browse the repository at this point in the history
Fix "conversion from int to string yields a string of one rune, not a string of digits" error.
  • Loading branch information
kalekseev authored Nov 30, 2020
1 parent d1f2831 commit 3aeb416
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion store/secretsmanagerstore.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ func (s *SecretsManagerStore) Write(id SecretId, value string) error {
putSecretValueInput := &secretsmanager.PutSecretValueInput{
SecretId: aws.String(id.Service),
SecretString: aws.String(string(contents)),
VersionStages: []*string{aws.String("AWSCURRENT"), aws.String("CHAMBER" + string(version))},
VersionStages: []*string{aws.String("AWSCURRENT"), aws.String("CHAMBER" + fmt.Sprint(version))},
}
_, err = s.svc.PutSecretValue(putSecretValueInput)
if err != nil {
Expand Down

0 comments on commit 3aeb416

Please sign in to comment.