From f4fe66554b34e967fc1b4d5f7e6e8a9f5d213a07 Mon Sep 17 00:00:00 2001 From: Marcin Parafiniuk Date: Tue, 10 Sep 2024 11:08:44 +0200 Subject: [PATCH] fixes for bugs found by pre commit checks --- gen/definitions/networks_settings.yaml | 1 - gen/schema/schema.yaml | 1 + go.mod | 2 -- go.sum | 2 ++ 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gen/definitions/networks_settings.yaml b/gen/definitions/networks_settings.yaml index 38557c4..3a407ed 100644 --- a/gen/definitions/networks_settings.yaml +++ b/gen/definitions/networks_settings.yaml @@ -4,7 +4,6 @@ rest_endpoint: /networks/%v/settings no_delete: true put_create: true doc_category: Networks -id_from_attribute: true attributes: - tf_name: network_id type: String diff --git a/gen/schema/schema.yaml b/gen/schema/schema.yaml index 95a654c..28244f8 100644 --- a/gen/schema/schema.yaml +++ b/gen/schema/schema.yaml @@ -14,6 +14,7 @@ skip_minimum_test: bool(required=False) # Do not perform a "minimum" (only manda attributes: list(include('attribute'), required=False) # List of attributes test_tags: list(str(), required=False) # List of test tags, tests are only executed if an environment variable with one of these tags is configured test_prerequisites: str(required=False) # HCL code that is included in the acceptance tests to define prerequisites +id_name: str(required=False) # the name of the attribute that will uniquely identify the resource, default "id" --- attribute: model_name: str(required=False) # Name of the attribute in the model (payload) diff --git a/go.mod b/go.mod index e1b2500..0c79fdf 100644 --- a/go.mod +++ b/go.mod @@ -17,8 +17,6 @@ require ( gopkg.in/yaml.v3 v3.0.1 ) -replace github.com/netascode/go-meraki v0.0.0-20240901102824-a67592c39438 => /Users/maparafi/go-meraki - require ( github.com/BurntSushi/toml v1.2.1 // indirect github.com/Kunde21/markdownfmt/v3 v3.1.0 // indirect diff --git a/go.sum b/go.sum index cc77968..35f3d27 100644 --- a/go.sum +++ b/go.sum @@ -164,6 +164,8 @@ github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RR github.com/mitchellh/reflectwalk v1.0.0/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ= github.com/mitchellh/reflectwalk v1.0.2/go.mod h1:mSTlrgnPZtwu0c4WaC2kGObEpuNDbx0jmZXqmk4esnw= +github.com/netascode/go-meraki v0.0.0-20240901102824-a67592c39438 h1:dsFYRJ2aXEddmIz76weQAZ6QzliSmMpVaZxGlW4wTUA= +github.com/netascode/go-meraki v0.0.0-20240901102824-a67592c39438/go.mod h1:xZ/kiJA+SZY32p5t1J9Jdhvtig9BU4SMbxKnfAJrmLE= github.com/oklog/run v1.1.0 h1:GEenZ1cK0+q0+wsJew9qUg/DyD8k3JzYsZAi5gYi2mA= github.com/oklog/run v1.1.0/go.mod h1:sVPdnTZT1zYwAJeCMu2Th4T21pA3FPOQRfWjQlk7DVU= github.com/pjbgf/sha1cd v0.3.0 h1:4D5XXmUUBUl/xQ6IjCkEAbqXskkq/4O7LmGn0AqMDs4=