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

Commit

Permalink
Rename TimeGenerated -> GeneratedTime
Browse files Browse the repository at this point in the history
Matches our convention of other time values.

Prerequisite for hashicorp/waypoint#1594 (discussion hashicorp/waypoint#1594 (review))
  • Loading branch information
izaaklauer committed Jun 9, 2021
1 parent 2df4513 commit 1a33fdd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion internal/plugin/platform_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ func TestPlatform_status(t *testing.T) {
Resources: resources,
External: true,
HealthMessage: "ready to go",
TimeGenerated: ptypes.TimestampNow(),
GeneratedTime: ptypes.TimestampNow(),
Health: pb.StatusReport_READY,
}, nil
}
Expand Down
14 changes: 7 additions & 7 deletions proto/gen/plugin.pb.go

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

2 changes: 1 addition & 1 deletion proto/plugin.proto
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ message StatusReport {
string health_message = 3;

// the time when this report was generated
google.protobuf.Timestamp time_generated = 4;
google.protobuf.Timestamp generated_time = 4;

// where the health check was performed. External means not executed by Waypoint,
// but by the platform deployed to.
Expand Down

0 comments on commit 1a33fdd

Please sign in to comment.