Skip to content

Commit

Permalink
Send labels as a key,value pair list
Browse files Browse the repository at this point in the history
  • Loading branch information
samisms committed Jan 17, 2018
1 parent 68acc30 commit 27f820a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/code/plugin/in_kube_podinventory.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def enumerate(podList = nil)
record = {}
record['Name'] = items['metadata']['name']
record['PodUid'] = items['metadata']['uid']
record['PodLabel'] = items['metadata']['labels']
record['PodLabel'] = [items['metadata']['labels']]
record['Namespace'] = items['metadata']['namespace']
record['PodCreationTimeStamp'] = items['metadata']['creationTimestamp']
record['PodStartTime'] = items['status']['startTime']
Expand Down

0 comments on commit 27f820a

Please sign in to comment.