Skip to content
This repository has been archived by the owner on Sep 5, 2023. It is now read-only.

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 committed Feb 24, 2021
1 parent 0c41650 commit f4f14ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/snippets/snippets_security_marks.py
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 f4f14ee

Please sign in to comment.