bump api version number to indicate PaC support (#3237)

This commit is contained in:
Erin Krengel 2019-09-16 13:04:29 -07:00 committed by GitHub
parent 1e2f4107c4
commit 48a00b507d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -165,7 +165,7 @@ func pulumiAPICall(ctx context.Context, d diag.Sink, cloudAPI, method, path stri
userAgent := fmt.Sprintf("pulumi-cli/1 (%s; %s)", version.Version, runtime.GOOS)
req.Header.Set("User-Agent", userAgent)
// Specify the specific API version we accept.
req.Header.Set("Accept", "application/vnd.pulumi+3")
req.Header.Set("Accept", "application/vnd.pulumi+4")
// Apply credentials if provided.
if tok.String() != "" {