When using the new auto-pagination logic, we would previously return the Body and Map of the last response, instead of one corresponding to the returned result. Correct this by overwriting the Body and Map after pagination has finished.
15 lines
306 B
Go
15 lines
306 B
Go
// Code generated by "make api"; DO NOT EDIT.
|
|
// Copyright (c) HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
package targets
|
|
|
|
import (
|
|
"encoding/json"
|
|
)
|
|
|
|
type SessionSecret struct {
|
|
Raw json.RawMessage `json:"raw,omitempty"`
|
|
Decoded map[string]interface{} `json:"decoded,omitempty"`
|
|
}
|