You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
diags.AddWarning("setting `server_addr` alongside `use_local_config = true` is unnecessary and not recommended as this will overwrite the address retrieved from the local ArgoCD context.", "")
191
+
}
192
+
193
+
if!p.Username.IsNull() {
194
+
diags.AddWarning("`username` is ignored when `use_local_config = true`.", "")
diags.Append(diagnostics.Error("failed to find default ArgoCD config path", err)...)
205
-
206
-
ifopts.ServerAddr!="" {
207
-
diags.AddWarning("setting `server_addr` alongside `use_local_config = true` is unnecessary and not recommended as this will overwrite the address retrieved from the local ArgoCD context.", "")
208
-
}
209
-
210
-
if!p.Username.IsNull() {
211
-
diags.AddWarning("`username` is ignored when `use_local_config = true`.", "")
212
-
}
213
213
casefalse:
214
214
// Log warnings if explicit configuration has been provided for local config when `use_local_config` is not enabled.
0 commit comments