UniterAPI: Cache immutable attributes once retrieved
Bug #1221834 reported by
Dimiter Naydenov
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.BundleSha
All of them return immutable values, so there's no need to make another API call for the same input value.
tags: | added: tech-debt |
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.