Skip to content

Commit

Permalink
fix(xo-server-sdn-controller): don't try to install certs on ro pools
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-f committed Sep 9, 2024
1 parent 2f7e0d0 commit af17f4a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.unreleased.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@

- xo-server minor
- xo-server-perf-alert minor
- xo-server-sdn-controller patch
- xo-web minor

<!--packages-end-->
2 changes: 1 addition & 1 deletion packages/xo-server-sdn-controller/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ class SDNController extends EventEmitter {

await Promise.all(
map(this._xo.getAllXapis(), async xapi => {
if (xapi.status === 'connected') {
if (xapi.status === 'connected' && !xapi.readOnly) {
await this._installCaCertificateIfNeeded(xapi)
}
})
Expand Down

0 comments on commit af17f4a

Please sign in to comment.