Skip to content
This repository has been archived by the owner on Aug 17, 2023. It is now read-only.

Commit

Permalink
Fix build error for int to string conversion (#396) (#397)
Browse files Browse the repository at this point in the history
Co-authored-by: Jiri Pinkava <[email protected]>
  • Loading branch information
pinkavaj and jiri-pinkava authored Aug 20, 2020
1 parent 6ed8dca commit 829253f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kfapp/aws/aws.go
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ func (aws *Aws) Generate(resources kftypes.ResourceEnum) error {
}

if pluginSpec.ManagedRelationDatabase.Port != nil {
if err := aws.kfDef.SetApplicationParameter("metadata", "MYSQL_PORT", string(*pluginSpec.ManagedRelationDatabase.Port)); err != nil {
if err := aws.kfDef.SetApplicationParameter("metadata", "MYSQL_PORT", fmt.Sprint(*pluginSpec.ManagedRelationDatabase.Port)); err != nil {
return errors.WithStack(err)
}
}
Expand Down

0 comments on commit 829253f

Please sign in to comment.