Get-AzResourceGroup doesn't handle -ErrorAction correct
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 55/100
Línea de trabajo
Start by finding the PowerShell cmdlet implementation for Get-AzResourceGroup in the C# engine and tracing how it reports a missing resource group. Check how the cmdlet surface reads the caller's -ErrorAction preference before writing a non-terminating error, since the bug is that SilentlyContinue is ignored. Reproduce with Get-AzResourceGroup -Name doesntexist -ErrorAction SilentlyContinue and compare against the same call without the flag. Done means the silent case prints no error while the default case still surfaces one, with a regression test on the PowerShell surface.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Affected surface
PowerShell
Describe the bug
Running Get-AzResourceGroup with a bag RG and -ErrorAction SilentlyContinue still throws an error when it should be ignored.
Related command
Get-AzResourceGroup -Name doesntexist -ErrorAction SilentlyContinue
Steps to reproduce
Get-AzResourceGroup -Name doesntexist -ErrorAction SilentlyContinue
Errors & debug output
There shouldn't be an error..
Expected behavior
No error should be thrown, as in the current public version
Environment
Windows 11, PowerShell 7.6, azlips PowerShell CmdLets version 0.1.6
Additional context
No response
- Lenguaje dominante
- C#
- Estrellas
- 18
- Forks
- 10
- Merge medio
- 1 d 20 h
- PR fusionados (30 d)
- 157
Preparar el entorno
Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de Azure/azclips
-
act-identity-squad bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 1 día
-
act-identity-squad bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
act-identity-squad bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
act-identity-squad bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Azure/azclips#1512 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
[Agent] Interactive recovery runs shell commands in the install folder, not the user's folderAbiertoact-experience-enablement-squad bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
Todos los issues de Azure/azclips
Issues similares
-
launcher item missingAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Realm667/WolfenDoom#1758 ·
-
SDK version compatibility issueAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
-
AI documentation good first issue help wanted
Dificultad 1/5 1-3 horas Aptitud para principiantes 84/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 77/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
akshit-bansal11/edgepad#106 ·
Los mantenedores suelen responder en 1 día