Skip to content

Commit

Permalink
Updated to handle subpackages
Browse files Browse the repository at this point in the history
  • Loading branch information
liamfallon committed Jan 9, 2025
1 parent 65e1735 commit 6bbceaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cache/dbcache/dbpackagerevisionresourcessql.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func pkgRevResourceReadFromDB(prk repository.PackageRevisionKey, resKey string)
}

func pkgRevResourcesReadFromDB(prk repository.PackageRevisionKey) (map[string]string, error) {
sqlStatement := `SELECT * FROM resources WHERE name_space=$1 AND repo_name=$2 AND package_name=$3 AND package_rev=$4 AND workspace_name=$5`
sqlStatement := `SELECT resource_key, resource_value FROM resources WHERE name_space=$1 AND repo_name=$2 AND package_name=$3 AND package_rev=$4 AND workspace_name=$5`

resources := make(map[string]string)

Expand Down

0 comments on commit 6bbceaf

Please sign in to comment.