Skip to content

Commit

Permalink
Merge pull request #3262 from onflow/jan/fix-staged-contracts-report-…
Browse files Browse the repository at this point in the history
…printer

Fix staged contracts report printer - update JSON field names
  • Loading branch information
SupunS authored Apr 18, 2024
2 parents 59e294f + f860718 commit aff3148
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/staged-contracts-report-printer/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func main() {
markdownBuilder := strings.Builder{}
markdownBuilder.WriteString("## Cadence 1.0 staged contracts migration results\n")
markdownBuilder.WriteString(fmt.Sprintf("Date: %s\n", now.Format("02 January, 2006")))
markdownBuilder.WriteString("|Address | Name | Status |\n")
markdownBuilder.WriteString("|Account Address | Contract Name | Status |\n")
markdownBuilder.WriteString("| --- | --- | --- | \n")

for _, entry := range reportEntries {
Expand Down Expand Up @@ -96,7 +96,7 @@ func main() {
}

type contractUpdateStatus struct {
AccountAddress string `json:"address"`
ContractName string `json:"name"`
AccountAddress string `json:"account_address"`
ContractName string `json:"contract_name"`
Error string `json:"error"`
}

0 comments on commit aff3148

Please sign in to comment.