Unverified Commit da60a43b authored by Paul Meyer's avatar Paul Meyer Committed by GitHub
Browse files

azure-cli: only alias removed extensions if allowed (#345698)

parents ba55bb14 717817b4
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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