Skip to content

Commit 67d8e37

Browse files
author
Nicolas Malaval
committed
Correct bug when node ID > 9
1 parent 8b8fbe2 commit 67d8e37

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

resume.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333

3434
# Ignore if the partition and the node group are not in partitions.json
3535
if nodegroup is None:
36-
logger.debug('Skipping partition=%s nodegroup=%s: not in partition.json' %(partition_name, nodegroup_name))
36+
logger.warning('Skipping partition=%s nodegroup=%s: not in partition.json' %(partition_name, nodegroup_name))
3737
continue
3838

3939
client = common.get_ec2_client(nodegroup)

suspend.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030

3131
# Ignore if the partition and the node group are not in partitions.json
3232
if nodegroup is None:
33-
logger.debug('Skipping partition=%s nodegroup=%s: not in partition.json' %(partition_name, nodegroup_name))
33+
logger.warning('Skipping partition=%s nodegroup=%s: not in partition.json' %(partition_name, nodegroup_name))
3434
continue
35-
35+
3636
client = common.get_ec2_client(nodegroup)
3737

3838
# Retrieve the list of instances to terminate based on the tag Name

0 commit comments

Comments
 (0)