minor improvement in disk.sync_all

Description

PR: https://github.com/truenas/middleware/pull/9013

We get `failover.licensed` at the top of this function so just reuse the variable so remove a call to `middleware.call`

Problem/Justification

None

Impact

None

Activity

Show:
Complete

Details

Assignee

Reporter

Labels

Time remaining

0m

Components

Fix versions

Priority

Katalon Platform

Created May 23, 2022 at 2:19 PM
Updated July 6, 2022 at 9:02 PM
Resolved May 23, 2022 at 3:37 PM