From c72f8dc787379f6544739c5c57a8241a14f6d2a0 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 9 May 2024 19:12:52 +0200 Subject: style: rename Option.Option to Option.Name --- internal/importer/ingest.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/importer') diff --git a/internal/importer/ingest.go b/internal/importer/ingest.go index b9db80c..3d6854d 100644 --- a/internal/importer/ingest.go +++ b/internal/importer/ingest.go @@ -220,7 +220,7 @@ func (i *OptionIngester) Process(ctx context.Context) (<-chan *options.NixOption // slog.Debug("sending option", "name", kv.Key) results <- &options.NixOption{ - Option: kv.Key, + Name: kv.Key, Source: strings.ToLower(i.source.Name), Declarations: decs, Default: convertNixValue(i.optJSON.Default), -- cgit 1.4.1