Skip to content

Commit 170765e

Browse files
committed
Merge pull request #1456 from greenqloud/pr-4.7-baremetal_metadata_parameter_bugfix
writeIfNotHere requires an array of strings, not a string * pr/1456: writeIfNotHere requires an array of strings, not a string Signed-off-by: Will Stevens <[email protected]>
2 parents 3fab757 + fde0b6a commit 170765e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/network/ping/baremetal_user_data.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def addUserData(vmIp, folder, fileName, contents):
9393
f.close()
9494

9595
if folder == "metadata" or folder == "meta-data":
96-
writeIfNotHere(metaManifest, fileName)
96+
writeIfNotHere(metaManifest, [fileName])
9797

9898
if __name__ == '__main__':
9999
string = sys.argv[1]

0 commit comments

Comments
 (0)