Repository navigation
Release v0.12.1
v0.12.1
Overview
This is a small documentation and terminology cleanup release. Following the earlier rename of the inventory concept from Fleet to Cluster (where a Fleet is now a collection of Clusters), a few stragglers in comments, help strings, and docs still referred to clusters as "fleets." This release sweeps those up so the terminology is consistent across the codebase, and bumps the reported version.
Improvements
-
Consistent "cluster" terminology. The
ClusterInfotype,ClusterHosts()error messages,WithClusterdocumentation, and the helpers reference now uniformly say "cluster" instead of "fleet." If you read error output or API comments while writing cluster-driven recipes, the language now matches the names you actually use in your inventory declarations. -
Simpler
WithClusterdocs. The comment onRegisterMethods(…, WithCluster(name))no longer tells you to callfleet.Register(the old fleet API). It simply notes that the cluster must already be registered, reflecting how registration actually works now.
Migration
No behavior changes and no action required. This release only touches comments, one user-facing error string (which now correctly says "cluster"), and the version constant reported by gonf -version.
Changelog Details
api/cluster.go:ClusterInfocomment now reads "listing row for registered clusters."api/cluster_hosts.go:ClusterHosts()and the task-cluster stack comments/error message use "cluster" wording.api/methods.go:WithClusterdoc comment updated to cluster terminology and registration guidance.docs/helpers.md: the "Fleet hosts and per-host values" section is now "Cluster hosts and per-host values."internal/version.go: version bumped from0.12.0to0.12.1.