Skip to content

Commit

Permalink
Merge pull request #168 from oci-hpc/2.10.6_ds_fix_remove
Browse files Browse the repository at this point in the history
fix for resize.sh remove failing when no nfs is defined
  • Loading branch information
arnaudfroidmont authored May 15, 2024
2 parents cf5f80a + 599bf40 commit dc43053
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/resize.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,10 @@ def getNFSnode(inventory):
return ''
if len(dict['nfs']) == 0:
return ''
return dict['nfs'][0].split()[0]
if dict['nfs'][0] == '\n':
return ''
else:
return dict['nfs'][0].split()[0]

def get_summary(comp_ocid,cluster_name):
CN = "CN"
Expand Down

0 comments on commit dc43053

Please sign in to comment.