Skip to content

Commit

Permalink
Print name of attribute when reading
Browse files Browse the repository at this point in the history
  • Loading branch information
Oskar Jung committed Oct 13, 2015
1 parent fd9741e commit 665a9e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mbeanz/mbeanz
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ def get_profile(args):

def read_attribute(mbean, member):
response = requests.get(API_URL + '/' + profile + '/read/' + member, params = {'bean': mbean})
print(colors.BOLD + mbean + SEPARATOR + member + colors.ENDC)
print_result(response.json())

if __name__ == "__main__":
Expand Down

0 comments on commit 665a9e1

Please sign in to comment.