azure-cli: only alias removed extensions if allowed (#345698)
This commit is contained in:
commit
da60a43b43
@ -3,6 +3,7 @@
|
||||
# Checkout ./README.md for more information.
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
mkAzExtension,
|
||||
mycli,
|
||||
@ -83,6 +84,8 @@
|
||||
meta.maintainers = with lib.maintainers; [ katexochen ];
|
||||
};
|
||||
|
||||
}
|
||||
// lib.optionalAttrs config.allowAliases {
|
||||
# Removed extensions
|
||||
blockchain = throw "The 'blockchain' extension for azure-cli was deprecated upstream"; # Added 2024-04-26
|
||||
vm-repair = throw "The 'vm-repair' extension for azure-cli was deprecated upstream"; # Added 2024-08-06
|
||||
|
Loading…
Reference in New Issue
Block a user