Skip to content

Commit 6646530

Browse files
committed
remove trailing whitespaces
1 parent a83dac1 commit 6646530

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

internal/xds/xdsclient/xdsmetadataregistry/xdsmetadataregistry_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
* limitations under the License.
1616
*/
1717

18-
1918
package xdsmetadataregistry
2019

2120
import (

internal/xds/xdsclient/xdsresource/unmarshal_eds.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ func validateAndConstructMetadata(metadataProto *v3corepb.Metadata) (Metadata, e
219219
converter := xdsmetadataregistry.GetConverter(anyProto.GetTypeUrl())
220220
// Ignore types we don't have a converter for.
221221
if converter == nil {
222-
continue
222+
continue
223223
}
224224

225225
val, err := converter(anyProto.GetValue())
@@ -233,10 +233,10 @@ func validateAndConstructMetadata(metadataProto *v3corepb.Metadata) (Metadata, e
233233

234234
// Process FilterMetadata for any keys not already handled.
235235
for key, structProto := range metadataProto.GetFilterMetadata() {
236-
_, exists := metadata[key];
236+
_, exists := metadata[key]
237237
// Skip keys already added from TyperFilterMetadata.
238238
if exists {
239-
continue
239+
continue
240240
}
241241
b, err := protojson.Marshal(structProto)
242242
if err != nil {

0 commit comments

Comments
 (0)