@@ -89,8 +89,10 @@ var credentialsChooser = map[string]credentialsDescription{
89
89
},
90
90
about : func () string {
91
91
return fmt .Sprintf (
92
- "(deprecated) value of parameter '%s' must be a string with template 'user:password'" ,
92
+ "value of parameter %q must be a string with template 'user:password'. Alternatively parameter for splitted parameters %q and %q" , //nolint:lll
93
93
ParamCredentialsStatic ,
94
+ ParamCredentialsStaticLogin ,
95
+ ParamCredentialsStaticPassword ,
94
96
)
95
97
},
96
98
},
@@ -100,7 +102,10 @@ var credentialsChooser = map[string]credentialsDescription{
100
102
},
101
103
about : func () string {
102
104
return fmt .Sprintf (
103
- "value of parameter '%s' must be a string with static credentials login" ,
105
+ "value of parameter %q must be a string with static credentials login. %q uses with %q. Alternatively you can use parameter %q" , //nolint:lll
106
+ ParamCredentialsStaticLogin ,
107
+ ParamCredentialsStaticLogin ,
108
+ ParamCredentialsStaticPassword ,
104
109
ParamCredentialsStatic ,
105
110
)
106
111
},
@@ -111,7 +116,10 @@ var credentialsChooser = map[string]credentialsDescription{
111
116
},
112
117
about : func () string {
113
118
return fmt .Sprintf (
114
- "value of parameter '%s' must be a string with static credentials password" ,
119
+ "value of parameter %q must be a string with static credentials password. %q uses with %q. Alternatively you can use parameter %q" , //nolint:lll
120
+ ParamCredentialsStaticPassword ,
121
+ ParamCredentialsStaticPassword ,
122
+ ParamCredentialsStaticLogin ,
115
123
ParamCredentialsStatic ,
116
124
)
117
125
},
0 commit comments