Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ji-yaqi committed Jan 5, 2022
1 parent d5eab00 commit fa2f2c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sdk/RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
## Documentation Updates

* N/A
*

# 1.8.9

## Major Features and Improvements
Expand Down
2 changes: 1 addition & 1 deletion sdk/python/kfp/v2/compiler/pipeline_spec_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -356,7 +356,7 @@ def build_importer_spec_for_task(
type_schema=type_schema,
reimport=task.importer_spec.reimport)

if task.importer_spec.metadata and len(task.importer_spec.metadata) != 0:
if task.importer_spec.metadata:
metadata_protobuf_struct = struct_pb2.Struct()
metadata_protobuf_struct.update(task.importer_spec.metadata)
importer_spec.metadata.CopyFrom(metadata_protobuf_struct)
Expand Down

0 comments on commit fa2f2c7

Please sign in to comment.