Skip to content

Commit 5e6cb9e

Browse files
committed
Add CreatedAt to ports.Port
Signed-off-by: Matt Vinall <boyvinall@gmail.com>
1 parent 762122f commit 5e6cb9e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

openstack/networking/v2/ports/results.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ type Port struct {
113113
// RevisionNumber optionally set via extensions/standard-attr-revisions
114114
RevisionNumber int `json:"revision_number"`
115115

116+
// Timestamp when the port was created
117+
CreatedAt time.Time `json:"created_at"`
118+
116119
// Timestamp when the port was last updated
117120
UpdatedAt time.Time `json:"updated_at"`
118121
}

0 commit comments

Comments
 (0)