Skip to content

Commit 716d6f1

Browse files
authored
Deprecate xen from SDKs and Tools (#896)
1 parent 5ed70c6 commit 716d6f1

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

kernels.go

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,16 @@ import (
1010

1111
// LinodeKernel represents a Linode Instance kernel object
1212
type LinodeKernel struct {
13-
ID string `json:"id"`
14-
Label string `json:"label"`
15-
Version string `json:"version"`
16-
Architecture string `json:"architecture"`
17-
Deprecated bool `json:"deprecated"`
18-
KVM bool `json:"kvm"`
19-
XEN bool `json:"xen"`
20-
PVOPS bool `json:"pvops"`
21-
Built *time.Time `json:"-"`
13+
ID string `json:"id"`
14+
Label string `json:"label"`
15+
Version string `json:"version"`
16+
Architecture string `json:"architecture"`
17+
Deprecated bool `json:"deprecated"`
18+
KVM bool `json:"kvm"`
19+
// Deprecated: this field is no longer populated by the API, but it is included here for backward compatibility with existing implementations.
20+
XEN bool `json:"xen"`
21+
PVOPS bool `json:"pvops"`
22+
Built *time.Time `json:"-"`
2223
}
2324

2425
// UnmarshalJSON implements the json.Unmarshaler interface

0 commit comments

Comments
 (0)