Commit 34d9e61
fix: import log to destination project (GoogleCloudPlatform#11005)
* fix: import log to destination project
patch logName to have destination project.
store original logName as user label.
refactor code to replace double quotes with single quotes in all literals.
refactor method comments.
refactor handling partial errors of type WriteLogEntriesPartialErrors.
* fix: update README to address code changes
Add clarifications about the changes to log's logName field.
Update references to the lines in code with the new commit hashes.
* fix: update mock object
add .project property to mocked logging client to support changes in code
* 🦉 Updates from OwlBot post-processor
See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md
* chore(fix): cosmetic changes
fix english in the code comment
fix line numbers in README to reflect recent code refactoring.
* chore(fix): convert quote to double quote
* Update logging/import-logs/main.py
---------
Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Maciej Strzelczyk <[email protected]>1 parent 9ff5277 commit 34d9e61
3 files changed
+54
-52
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
12 | 25 | | |
13 | 26 | | |
14 | 27 | | |
| |||
47 | 60 | | |
48 | 61 | | |
49 | 62 | | |
| 63 | + | |
50 | 64 | | |
51 | 65 | | |
52 | 66 | | |
| |||
94 | 108 | | |
95 | 109 | | |
96 | 110 | | |
97 | | - | |
98 | | - | |
99 | | - | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
100 | 114 | | |
101 | 115 | | |
102 | | - | |
103 | | - | |
104 | | - | |
| 116 | + | |
105 | 117 | | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
| 118 | + | |
112 | 119 | | |
113 | | - | |
| 120 | + | |
114 | 121 | | |
115 | 122 | | |
116 | 123 | | |
117 | | - | |
| 124 | + | |
118 | 125 | | |
119 | 126 | | |
120 | 127 | | |
121 | 128 | | |
122 | 129 | | |
123 | 130 | | |
124 | | - | |
125 | | - | |
126 | | - | |
| 131 | + | |
| 132 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
| |||
30 | 29 | | |
31 | 30 | | |
32 | 31 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | 32 | | |
47 | 33 | | |
48 | 34 | | |
| |||
70 | 56 | | |
71 | 57 | | |
72 | 58 | | |
73 | | - | |
74 | | - | |
75 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
76 | 63 | | |
77 | 64 | | |
78 | 65 | | |
79 | 66 | | |
80 | 67 | | |
81 | 68 | | |
82 | 69 | | |
83 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
84 | 73 | | |
85 | | - | |
86 | | - | |
| 74 | + | |
| 75 | + | |
87 | 76 | | |
88 | 77 | | |
89 | 78 | | |
90 | 79 | | |
| 80 | + | |
91 | 81 | | |
92 | 82 | | |
93 | 83 | | |
| |||
170 | 160 | | |
171 | 161 | | |
172 | 162 | | |
173 | | - | |
174 | 163 | | |
175 | | - | |
| 164 | + | |
176 | 165 | | |
177 | 166 | | |
178 | 167 | | |
179 | | - | |
| 168 | + | |
180 | 169 | | |
181 | 170 | | |
182 | 171 | | |
183 | | - | |
184 | | - | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
185 | 178 | | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
194 | 188 | | |
195 | 189 | | |
196 | 190 | | |
| |||
203 | 197 | | |
204 | 198 | | |
205 | 199 | | |
206 | | - | |
| 200 | + | |
207 | 201 | | |
208 | 202 | | |
209 | 203 | | |
| |||
244 | 238 | | |
245 | 239 | | |
246 | 240 | | |
247 | | - | |
| 241 | + | |
248 | 242 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| |||
339 | 340 | | |
340 | 341 | | |
341 | 342 | | |
| 343 | + | |
342 | 344 | | |
343 | 345 | | |
344 | 346 | | |
| |||
0 commit comments