diff --git a/bundle/config/variable/lookup.go b/bundle/config/variable/lookup.go index 4fd08725a..f8cb67198 100755 --- a/bundle/config/variable/lookup.go +++ b/bundle/config/variable/lookup.go @@ -7,12 +7,6 @@ import ( "github.com/databricks/databricks-sdk-go" ) -type resolver interface { - Resolve(ctx context.Context, w *databricks.WorkspaceClient) (string, error) - - String() string -} - type Lookup struct { Alert string `json:"alert,omitempty"` @@ -37,6 +31,14 @@ type Lookup struct { Warehouse string `json:"warehouse,omitempty"` } +type resolver interface { + // Resolve resolves the underlying entity's ID. + Resolve(ctx context.Context, w *databricks.WorkspaceClient) (string, error) + + // String returns a human-readable representation of the resolver. + String() string +} + func (l *Lookup) constructResolver() (resolver, error) { var resolvers []resolver