Skip to content

Commit 5a98d64

Browse files
committed
Merge branch 'release/v1.0.6'
2 parents 4e864cc + bc2bc15 commit 5a98d64

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Changelog
22
=========
33

4+
v1.0.6 (2021-09-12)
5+
-------------------
6+
7+
* Fixed a bug where initializing an instance without ssh keys raises an exception
8+
49
v1.0.5 (2021-09-27)
510
-------------------
611

datacrunch/__version__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION = '1.0.5'
1+
VERSION = '1.0.6'

datacrunch/instances/instances.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def get(self, status: str = None) -> List[Instance]:
274274
ip=instance_dict['ip'],
275275
status=instance_dict['status'],
276276
created_at=instance_dict['created_at'],
277-
ssh_key_ids=instance_dict['ssh_key_ids'],
277+
ssh_key_ids=instance_dict['ssh_key_ids'] if 'ssh_key_ids' in instance_dict else [],
278278
startup_script_id=instance_dict['startup_script_id'] if 'startup_script_id' in instance_dict else None,
279279
cpu=instance_dict['cpu'],
280280
gpu=instance_dict['gpu'],

0 commit comments

Comments
 (0)