Skip to content

Commit 6dc4ef3

Browse files
authored
fix(test): Add messaging for communicating the resource group being deleted (#211)
This communicates the resource group that's being deleted if there is a resource group found at the end of `ie test`.
1 parent 5377601 commit 6dc4ef3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

internal/engine/test/model.go

+7
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,13 @@ func (model TestModeModel) Update(message tea.Msg) (tea.Model, tea.Cmd) {
160160

161161
// Delete any found resource groups.
162162
if model.resourceGroupName != "" {
163+
model.CommandLines = append(
164+
model.CommandLines,
165+
fmt.Sprintf(
166+
"Attempting to delete the deployed resource group with the name: %s",
167+
model.resourceGroupName,
168+
),
169+
)
163170
logging.GlobalLogger.Infof("Attempting to delete the deployed resource group with the name: %s", model.resourceGroupName)
164171
command := fmt.Sprintf("az group delete --name %s --yes --no-wait", model.resourceGroupName)
165172
_, err := shells.ExecuteBashCommand(

0 commit comments

Comments
 (0)