Skip to content

Instantly share code, notes, and snippets.

@jlsherrill
Created July 22, 2014 01:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jlsherrill/61dcb6a3b5d4b8d36629 to your computer and use it in GitHub Desktop.
Save jlsherrill/61dcb6a3b5d4b8d36629 to your computer and use it in GitHub Desktop.
diff --git a/app/views/katello/api/v2/systems/show.json.rabl b/app/views/katello/api/v2/systems/show.json.rabl
index 8f2710d..1646caf 100644
--- a/app/views/katello/api/v2/systems/show.json.rabl
+++ b/app/views/katello/api/v2/systems/show.json.rabl
@@ -63,7 +63,7 @@ end
# Requires another API call to fetch from Candlepin
if params[:fields] == "full"
- attributes :type
+ attributes :system_type => :type
attributes :compliance
attributes :facts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment