MCPcopy Create free account
hub / github.com/quay/clair / Error

Method Error

cmd/clairctl/admin.go:437–439  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

435}
436
437func (e ErrNonCompatibleMigrationVersion) Error() string {
438 return fmt.Sprintf("non-compatible migration version %d (acceptable versions: %v)", e.version, e.acceptableVersions)
439}
440
441func checkMigrationVersion(ctx context.Context, pool *pgxpool.Pool, migrationTable string, acceptableVersions []int) error {
442 checkMigrationVersionQuery := fmt.Sprintf("SELECT MAX(version) FROM %s", migrationTable)

Callers 8

TestLoadConfigFunction · 0.45
LoadConfigFunction · 0.45
loadAsJSONFunction · 0.45
mainFunction · 0.45
TestImportArgFunction · 0.45
exportActionFunction · 0.45
InitMethod · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestLoadConfigFunction · 0.36
TestImportArgFunction · 0.36