Skip to content

Commit ecf1330

Browse files
Deprecate azure connections from train
Signed-off-by: Sathish <[email protected]>
1 parent 4de4740 commit ecf1330

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/train/transports/azure.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
require "train/transports/helpers/azure/file_credentials"
99
require "train/transports/clients/azure/graph_rbac"
1010
require "train/transports/clients/azure/vault"
11+
require "active_support"
1112

1213
module Train::Transports
1314
class Azure < Train.plugin(1)
@@ -31,6 +32,7 @@ class Connection < BaseConnection
3132
DEFAULT_FILE = ::File.join(Dir.home, ".azure", "credentials")
3233

3334
def initialize(options)
35+
ActiveSupport::Deprecation.warn('Azure Connection with Train will be deprecated from Inspec 6')
3436
@apis = {}
3537

3638
# Override for any cli options

0 commit comments

Comments
 (0)