Azure / Azure/azure-cli

GeoDR creation succeed even when server do not exist

Open
#10,821 4 comments 0 reactions 0 assignees View on GitHub
act-codegen-extensibility-squad Service Attention SQL
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Describe the bug**
When setting up Azure SQL GeoDR, the AZ CLI executes correctly even if the server specified in --server do not exist

**To Reproduce**
az sql db replica create --name --server --resource-group --partner-server

Make sure that do not exists, while database and exists.

**Expected behavior**
En error, saying that do not exists

**Environment summary**
```
Linux-4.4.0-18362-Microsoft-x86_64-with-debian-buster-sid
Python 3.6.5
Shell: bash

azure-cli 2.0.74
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.