Skip to content

Commit fde0b6a

Browse files
author
Högni Ingimarsson
committed
writeIfNotHere requires an array of strings, not a string
1 parent 4db1c01 commit fde0b6a

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)