TT#115501 ngcp-sync-grants: Fix typo for copy operation

Even though this has no current functional difference, as we always have
a hosts definition, we should key the copy action on the copy hash in
the grants.yml file.

Change-Id: I45b6d4100910e600979b187a769a92753a8e7a2f
mr10.2
Guillem Jover 5 years ago
parent 06fff6f280
commit b97549868a

@ -488,7 +488,7 @@ sub main {
/^hosts$/ && do {
$rc += apply_host_grants();
};
/^hosts$/ && do {
/^copy$/ && do {
$rc += apply_copy_grants();
};
} # SWITCH

Loading…
Cancel
Save