Skip to content

Commit

Permalink
Update app service metadata.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 307492266
  • Loading branch information
yuyantingzero authored and copybara-github committed Apr 20, 2020
1 parent dc8560c commit f86675e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions perfkitbenchmarker/app_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,11 @@ def GetLifeCycleMetrics(self):
s.metadata.update(self.metadata)
return self.samples

def _PostCreate(self):
"""Method called after _CreateResource."""
if self.builder:
self.metadata.update(self.builder.GetResourceMetadata())

def Create(self):
super(BaseAppService, self).Create()
self.samples.append(
Expand Down

0 comments on commit f86675e

Please sign in to comment.