Skip to content

Commit 6413253

Browse files
Commenting warning msg till we decide to deprecate the SPN option (#2784)
[Commenting warning msg till we decide to deprecate the SPN option]
1 parent 8b02ff4 commit 6413253

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cmd/login.go

+4-3
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,10 @@ type loginCmdArgs struct {
116116

117117
func (lca loginCmdArgs) process() error {
118118
// Login type consolidation to allow backward compatibility.
119-
if lca.servicePrincipal || lca.identity {
120-
glcm.Warn("The flags --service-principal and --identity will be deprecated in a future release. Please use --login-type=SPN or --login-type=MSI instead.")
121-
}
119+
// Commenting the warning message till we decide on when to deprecate these options
120+
// if lca.servicePrincipal || lca.identity {
121+
// glcm.Warn("The flags --service-principal and --identity will be deprecated in a future release. Please use --login-type=SPN or --login-type=MSI instead.")
122+
// }
122123
if lca.servicePrincipal {
123124
lca.loginType = common.EAutoLoginType.SPN().String()
124125
} else if lca.identity {

0 commit comments

Comments
 (0)