Skip to content

Commit

Permalink
remove some redundant structs
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchy committed Sep 3, 2024
1 parent 910decf commit 50f2f97
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions sharing/resource_share.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,25 +54,10 @@ func (ShareInfo) Aliases() map[string]map[string]string {
}
}

type ShareDataChange struct {
sharing.SharedDataObjectUpdate
}

type Shares struct {
Shares []ShareInfo `json:"shares"`
}

type Partition struct {
Values []PartitionValue `json:"values" tf:"alias:value"`
}

type PartitionValue struct {
Name string `json:"name"`
Op string `json:"op"`
RecipientPropertyKey string `json:"recipient_property_key,omitempty"`
Value string `json:"value,omitempty"`
}

func (si *ShareInfo) sortSharesByName() {
sort.Slice(si.Objects, func(i, j int) bool {
return si.Objects[i].Name < si.Objects[j].Name
Expand Down

0 comments on commit 50f2f97

Please sign in to comment.