Skip to content

Commit f8daeb5

Browse files
committed
Remove unused methods
1 parent d79873f commit f8daeb5

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

client/directives/components/mirrorDockerfile/mirrorDockerfileController.js

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -32,31 +32,6 @@ function MirrorDockerfileController(
3232
MDC.branchName = MDC.branchName || keypather.get(MDC.repo, 'attrs.default_branch');
3333
MDC.state.configurationMethod = null;
3434

35-
MDC.fetchRepoDockerfiles = function () {
36-
return fetchRepoDockerfiles(MDC.getFullRepo(), MDC.branchName, MDC.newDockerfilePaths)
37-
.then(function (dockerfiles) {
38-
// remove any dead paths by replacing them with the results
39-
MDC.newDockerfilePaths = dockerfiles.map(function (dockerfile) {
40-
return dockerfile.path;
41-
});
42-
MDC.repo.dockerfiles = dockerfiles;
43-
return dockerfiles;
44-
})
45-
.catch(errs.handler);
46-
};
47-
48-
MDC.fetchRepoDockerComposeFiles = function () {
49-
return fetchRepoDockerfiles(MDC.getFullRepo(), MDC.branchName, MDC.newDockerComposeFilePaths)
50-
.then(function (dockerfiles) {
51-
MDC.newDockerComposeFilePaths = dockerfiles.map(function (dockerfile) {
52-
return dockerfile.path;
53-
});
54-
MDC.repo.dockerComposeFiles = dockerfiles;
55-
return dockerfiles;
56-
})
57-
.catch(errs.handler);
58-
};
59-
6035
MDC.loadDefaultDockerfile = function (repo, branchName, filePath, fileType) {
6136
return fetchRepoDockerfile(repo, branchName, filePath)
6237
.then(doesDockerfileExist)

0 commit comments

Comments
 (0)