Skip to content

Commit

Permalink
Fixes #37832 - Don't use cached manifest expiration date after manife…
Browse files Browse the repository at this point in the history
…st refresh
  • Loading branch information
jeremylenz authored and qcjames53 committed Sep 18, 2024
1 parent c884849 commit e0f354d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/controllers/katello/api/v2/organizations_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ def index
param :id, :number, :desc => N_("organization ID"), :required => true
def show
@render_template = 'katello/api/v2/organizations/show'
@organization.manifest_expiration_date(cached: false) if params[:force_manifest_expire_cache]
super
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class ManageManifestModal extends Component {
}

if (prevProps.taskInProgress && !this.props.taskInProgress) {
this.props.loadOrganization();
this.props.loadOrganization({ force_manifest_expire_cache: true });
this.props.loadManifestHistory();
}

Expand Down

0 comments on commit e0f354d

Please sign in to comment.