Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
Change TimeGenerated to GeneratedTime to match convention
Browse files Browse the repository at this point in the history
Regenerated protobufs
  • Loading branch information
izaaklauer committed Jun 4, 2021
1 parent e0aa3b3 commit 81f0fe1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion internal/cli/deployment_list.go
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ func (c *DeploymentListCommand) Run(args []string) int {
statusReportComplete = "?"
}

if t, err := ptypes.Timestamp(statusReport.TimeGenerated); err == nil {
if t, err := ptypes.Timestamp(statusReport.GeneratedTime); err == nil {
statusReportComplete = fmt.Sprintf("%s - %s", statusReportComplete, humanize.Time(t))
}
}
Expand Down
2 changes: 1 addition & 1 deletion internal/core/app_status_report.go
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ func (op *statusReportOperation) Do(
}

// Add the time generated to the outer status report
realMsg.TimeGenerated = report.TimeGenerated
realMsg.GeneratedTime = report.TimeGenerated

op.result = result.(*sdk.StatusReport)

Expand Down
16 changes: 8 additions & 8 deletions internal/server/gen/server.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 81f0fe1

Please sign in to comment.