mirror of https://github.com/dapr/cli.git
optimize/upgrade: dashboard maybe not in dapr-system (#817)
Co-authored-by: Mukundan Sundararajan <musundar@microsoft.com> Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
This commit is contained in:
parent
a9a03edf1c
commit
d22950672c
|
|
@ -128,6 +128,9 @@ func Upgrade(conf UpgradeConfig) error {
|
|||
|
||||
func highAvailabilityEnabled(status []StatusOutput) bool {
|
||||
for _, s := range status {
|
||||
if s.Name == "dapr-dashboard" {
|
||||
continue
|
||||
}
|
||||
if s.Replicas > 1 {
|
||||
return true
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue