Project

General

Profile

Actions

Bug #12813

closed

rudder-cli : KeyError: 'compliances' and error on directive list

Added by Nicolas CHARLES almost 6 years ago. Updated over 5 years ago.

Status:
Released
Priority:
N/A
Category:
Rudder API & CLI
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

Error KeyError: 'compliances'
when running technique test

Actions #1

Updated by Nicolas CHARLES almost 6 years ago

  • Subject changed from rudder-cli : KeyError: 'compliances' to rudder-cli : KeyError: 'compliances' and error on directive list

we can't also list directives

Actions #2

Updated by Nicolas CHARLES almost 6 years ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES
Actions #3

Updated by Nicolas CHARLES almost 6 years ago

for the directives, we need to comment

  #def list_directives(self, name, return_raw=False):
  #  """ List all Directives based on all version of a Technique (get) """ 
  #  return self.request("GET", "/api/techniques/" + name + "/directives", return_raw=return_raw)

from the rudder.py - i don't know how to commit that

Actions #4

Updated by Nicolas CHARLES almost 6 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder-api-client/pull/18
Actions #5

Updated by Nicolas CHARLES almost 6 years ago

  • Status changed from Pending technical review to Pending release
Actions #6

Updated by Benoît PECCATTE over 5 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF