Skip to content

Commit

Permalink
docs: Fix conflict tag introduced in PR 104 (#106)
Browse files Browse the repository at this point in the history
* add securitycenter prefix to samples, wrap published samples and replace unpublished entirely.

* Fix unmatched region tags

* Fix more unmatched region tags

* fix lint issue with function antipattern

* docs: standardize new tags with most-used tag from other languages

* fix conflicting tag by making more explicit to the contained function
  • Loading branch information
Anthony authored and dandhlee committed Jan 26, 2023
1 parent 72589db commit f93f43e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions securitycenter/snippets/snippets_security_marks.py
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def delete_and_update_marks(asset_name):

def add_to_finding(finding_name):
"""Adds security marks to a finding. """
# [START securitycenter_add_security_marks]
# [START securitycenter_add_finding_security_marks]
# [START add_marks_to_finding]
from google.cloud import securitycenter
from google.protobuf import field_mask_pb2
Expand All @@ -145,7 +145,7 @@ def add_to_finding(finding_name):
}
)
# [END add_marks_to_finding]
# [END securitycenter_add_security_marks]
# [END securitycenter_add_finding_security_marks]
return updated_marks, marks


Expand Down

0 comments on commit f93f43e

Please sign in to comment.