Skip to content

Commit 69befee

Browse files
committed
Simplify code.
1 parent 4af3d92 commit 69befee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ovh/table_ovh_log_self.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ func listLog(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (i
124124
}
125125

126126
func getLog(ctx context.Context, d *plugin.QueryData, _ *plugin.HydrateData) (interface{}, error) {
127-
strId := d.Quals.ToEqualsQualValueMap()["id"].GetStringValue()
127+
strId := d.EqualsQuals["id"].GetStringValue()
128128
var log Log
129129
intId, err := strconv.Atoi(strId)
130130
if err != nil {

0 commit comments

Comments
 (0)