From 268e2d8590a4659e699c66f75ca75841698daac8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Budzy=C5=84ski?= Date: Wed, 18 Dec 2024 11:31:36 +0100 Subject: [PATCH] lint --- pkg/sdk/poc/generator/interface.go | 2 -- pkg/sdk/streamlits_def.go | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/sdk/poc/generator/interface.go b/pkg/sdk/poc/generator/interface.go index 99789e5618..1268b7b1d0 100644 --- a/pkg/sdk/poc/generator/interface.go +++ b/pkg/sdk/poc/generator/interface.go @@ -28,7 +28,5 @@ func (i *Interface) NameLowerCased() string { // ObjectIdentifierKind returns the level of the object identifier (e.g. for DatabaseObjectIdentifier, it returns the prefix "Database") func (i *Interface) ObjectIdentifierPrefix() idPrefix { - // return strings.Replace(i.IdentifierKind, "ObjectIdentifier", "", 1) return identifierStringToPrefix(i.IdentifierKind) } - diff --git a/pkg/sdk/streamlits_def.go b/pkg/sdk/streamlits_def.go index f3a27fc1cb..6ae01153e2 100644 --- a/pkg/sdk/streamlits_def.go +++ b/pkg/sdk/streamlits_def.go @@ -103,7 +103,7 @@ var StreamlitsDef = g.NewInterface( OptionalLike(). OptionalIn(). OptionalLimit(), - g.ShowObjectIdMethod, + g.ShowObjectIdMethod, ).ShowByIdOperationWithFiltering( g.ShowByIDLikeFiltering, g.ShowByIDInFiltering,