diff --git a/setup.py b/setup.py index 1e62eb5..afb9bf4 100644 --- a/setup.py +++ b/setup.py @@ -22,7 +22,7 @@ setup( name='exchange-metadata-converter', packages=find_packages(), - version='0.0.8', + version='0.0.9', license='Apache-2.0', description='exchange metadata converters', long_description=README, diff --git a/templates/dlf_out.yaml b/templates/dlf_out.yaml index b440965..0e8427a 100644 --- a/templates/dlf_out.yaml +++ b/templates/dlf_out.yaml @@ -14,7 +14,7 @@ apiVersion: com.ie.ibm.hpsys/v1alpha1 kind: Dataset metadata: - name: '{{name}}' + name: '{{id}}' labels: version: '{{version}}' spec: diff --git a/tests/test_dlf.py b/tests/test_dlf.py index 9e37f60..e593f79 100644 --- a/tests/test_dlf.py +++ b/tests/test_dlf.py @@ -48,7 +48,7 @@ def test_dtest_dlf(self): 'com.ie.ibm.hpsys/v1alpha1') self.assertEqual(out_dict['kind'], 'Dataset') self.assertEqual(out_dict['metadata']['name'], - self.in_yamls['name']) + self.in_yamls['id']) self.assertEqual(out_dict['metadata']['labels']['version'], self.in_yamls['version']) self.assertEqual(out_dict['spec']['type'],