Skip to content

Tenant support

Tenant support #8

Triggered via pull request April 2, 2025 04:40
Status Failure
Total duration 1m 15s
Artifacts

ci.yml

on: pull_request
Build and run example app
19s
Build and run example app
Build and run example tenants app
22s
Build and run example tenants app
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: tenant_config_provider.go#L82
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"no configs found for tenant %s\", tenantID)" (err113)
lint: tenant_config_file_loader.go#L322
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"unsupported source type: %v\", srcVal.Kind())" (err113)
lint: tenant_config_file_loader.go#L256
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"cannot copy from map to non-struct\")" (err113)
lint: tenant_config_file_loader.go#L240
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"destination must be a pointer\")" (err113)
lint: tenant_config_file_loader.go#L214
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"original or loaded config is nil\")" (err113)
lint: tenant_config_file_loader.go#L100
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"application is nil\")" (err113)
lint: tenant_aware_config_test.go#L77
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"failed to cast config to TestTenantConfig: %s - %+v\", tenantID, testConfig)" (err113)
lint: application.go#L451
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"application context not initialized\")" (err113)
lint: application.go#L157
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"service '%s' of type %s cannot be assigned to %s\",\n\tname, serviceType, targetType)" (err113)
lint: application.go#L118
do not define dynamic errors, use wrapped static errors instead: "fmt.Errorf(\"target must be a non-nil pointer\")" (err113)