bump api version number to indicate PaC support (#3237)
This commit is contained in:
parent
1e2f4107c4
commit
48a00b507d
|
@ -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() != "" {
|
||||
|
|
Loading…
Reference in a new issue