Open bcwaldon opened 10 years ago
...and with v444.4.0 making it to stable, we can go ahead and do this.
Not so fast. Need https://github.com/coreos/fleet/pull/991 to make it out to stable first to ensure the upgrade path is nice and clean.
This is no longer blocked. v0.9.0 has made it to CoreOS Stable.
@bcwaldon Seems the old code can be removed now.
@wuqixuan any chance you want to take a swing at this?
@jonboulle , I am reviewing all the ISSUE and PR now one by one. There are so many ISSUE and PR pending, I hope can help the community to progress. : )
As for this PR, "statePrefix = "/state/"" is only used by legacyUnitStatePath, and the functions using legacyUnitStatePath always call unitStatePath or unitStatesNamespace. So the code of "statePrefix", "legacyUnitStatePath" can be removed. And the code currently is stable enough I think.
We've kept backwards-compatibility with the old state namespace since the change to the new namespace in v0.7.0. We can remove the old code once fleet v0.7.0+ makes it to the CoreOS stable channel.