Skip to content
This repository has been archived by the owner on Nov 30, 2021. It is now read-only.

Commit

Permalink
fix(controller): fix container admin view
Browse files Browse the repository at this point in the history
A container does not have a cluster attribute, but an app does!

fixes #743
  • Loading branch information
Matthew Fisher committed Apr 16, 2014
1 parent dfd202b commit 3dda9fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controller/api/admin.py
Expand Up @@ -63,7 +63,7 @@ class ContainerAdmin(admin.ModelAdmin):
in the Django admin.
"""
date_hierarchy = 'created'
list_display = ('short_name', 'owner', 'cluster', 'app', 'state')
list_display = ('short_name', 'owner', 'app', 'state')
list_filter = ('owner', 'cluster', 'app', 'state')
admin.site.register(Container, ContainerAdmin)

Expand Down

0 comments on commit 3dda9fb

Please sign in to comment.