Skip to content

Commit

Permalink
Add more info to type error message
Browse files Browse the repository at this point in the history
  • Loading branch information
rexemin committed Aug 7, 2024
1 parent ce4216c commit b760b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/modules/zos_apf.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ def backupOper(module, src, backup, tmphlq=None):
file_type = 'USS'

if file_type != 'USS' and file_type not in DS_TYPE:
message = "{0} data set type is NOT supported".format(str(file_type))
message = "{0} data set type of {1} is NOT supported".format(str(file_type), src)
module.fail_json(msg=message)

# backup can be True(bool) or none-zero length string. string indicates that backup_name was provided.
Expand Down

0 comments on commit b760b40

Please sign in to comment.