Revision 64246438 lib/rapi/baserlib.py

b/lib/rapi/baserlib.py
80 80
  return dict(zip(names, data))
81 81

  
82 82

  
83
def _Tags_GET(kind, name=""):
83
def _Tags_GET(kind, name):
84 84
  """Helper function to retrieve tags.
85 85

  
86 86
  """
......
103 103
  return list(tags)
104 104

  
105 105

  
106
def _Tags_PUT(kind, tags, name=""):
106
def _Tags_PUT(kind, tags, name, dry_run):
107 107
  """Helper function to set tags.
108 108

  
109 109
  """
110
  return SubmitJob([opcodes.OpAddTags(kind=kind, name=name, tags=tags)])
110
  return SubmitJob([opcodes.OpAddTags(kind=kind, name=name,
111
                                      tags=tags, dry_run=dry_run)])
111 112

  
112 113

  
113
def _Tags_DELETE(kind, tags, name=""):
114
def _Tags_DELETE(kind, tags, name, dry_run):
114 115
  """Helper function to delete tags.
115 116

  
116 117
  """
117
  return SubmitJob([opcodes.OpDelTags(kind=kind, name=name, tags=tags)])
118
  return SubmitJob([opcodes.OpDelTags(kind=kind, name=name,
119
                                      tags=tags, dry_run=dry_run)])
118 120

  
119 121

  
120 122
def MapBulkFields(itemslist, fields):

Also available in: Unified diff