UniterAPI: Cache immutable attributes once retrieved

Bug #1221834 reported by Dimiter Naydenov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Won't Fix
Low
Unassigned

Bug Description

Currently, there are 2 calls in the uniter client-side API that could be improved by (lazy) caching the initial call result:
* Charm.BundleURL()
* Charm.BundleSha256()

All of them return immutable values, so there's no need to make another API call for the same input value.

Tags: tech-debt
tags: added: tech-debt
John A Meinel (jameinel)
Changed in juju-core:
importance: Undecided → Low
status: New → Triaged
description: updated
description: updated
Changed in juju-core:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.