Fix feature support checks in the Python SDK. (#5702)

This commit is contained in:
Pat Gavlin 2020-11-06 11:53:24 -08:00 committed by GitHub
parent 00f8966a9a
commit f6b687ea03
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -2,7 +2,10 @@ CHANGELOG
=========
## HEAD (Unreleased)
_(none)_
- Fix a bug in the Python SDK that caused incompatibilities with versions of the CLI prior to
2.13.0.
[#5702](https://github.com/pulumi/pulumi/pull/5702)
## 2.13.0 (2020-11-04)

View file

@ -211,7 +211,7 @@ async def monitor_supports_feature(feature: str) -> bool:
if not monitor:
return False
req = resource_pb2.SupportsFeatureRequest(id="secrets")
req = resource_pb2.SupportsFeatureRequest(id=feature)
def do_rpc_call():
try:
resp = monitor.SupportsFeature(req)