Skip to content

Commit b0be8ef

Browse files
addressing comment: renaming interface
1 parent 07bc66f commit b0be8ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/spec-configuration/containerFeaturesOCI.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export interface OCIManifest {
5050
annotations?: {};
5151
}
5252

53-
interface versions {
53+
interface OCITagList {
5454
name: string;
5555
tags: string[];
5656
}
@@ -325,7 +325,7 @@ export async function getPublishedVersions(featureRef: OCIFeatureRef, output: Lo
325325
};
326326

327327
const response = await request(options);
328-
const publishedVersionsResponse: versions = JSON.parse(response.toString());
328+
const publishedVersionsResponse: OCITagList = JSON.parse(response.toString());
329329

330330
return publishedVersionsResponse.tags;
331331
} catch (e) {

0 commit comments

Comments
 (0)