Skip to content

3.3.1: fix loading the Juju machine ID

Choose a tag to compare

@tonyandrewmeyer tonyandrewmeyer released this 16 Oct 01:45
· 1 commit to 3.3-maintenance since this release
c85787b

This is a bug-fix release to fix an issue introduced in Ops 3.3.0 (in production) and Ops 3.2.0 (in testing), where loading the Juju machine ID would fail if the ID was not an integer.

The type of the machine ID (both in ops.JujuContext and testing.Context) is changed from int to str, so some code or tests may need to be adjusted to use the correct type.

What's Changed

Fixes

  • Change JujuContext.machine_id from int to str (#2108)

Full Changelog: 3.3.0...3.3.1