Revision 7db266bb lib/rapi/client.py

b/lib/rapi/client.py
1045 1045
    body = kwargs
1046 1046

  
1047 1047
    _AppendDryRunIf(query, dry_run)
1048
    _AppendIf(query, no_remember, ("no-remember", 1))
1048
    _AppendIf(query, no_remember, ("no_remember", 1))
1049 1049

  
1050 1050
    return self._SendRequest(HTTP_PUT,
1051 1051
                             ("/%s/instances/%s/shutdown" %
......
1066 1066
    """
1067 1067
    query = []
1068 1068
    _AppendDryRunIf(query, dry_run)
1069
    _AppendIf(query, no_remember, ("no-remember", 1))
1069
    _AppendIf(query, no_remember, ("no_remember", 1))
1070 1070

  
1071 1071
    return self._SendRequest(HTTP_PUT,
1072 1072
                             ("/%s/instances/%s/startup" %

Also available in: Unified diff