Skip to content

Commit 4043718

Browse files
author
Daniel Knoppel (Phusion)
committed
Disable unused feature.
1 parent a63f1e9 commit 4043718

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/agent/Core/SpawningKit/Spawner.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,6 @@ class Spawner {
721721
prepareChroot(info, options);
722722
info.userSwitching = prepareUserSwitching(options);
723723
prepareSwitchingWorkingDirectory(info, options);
724-
inferApplicationInfo(info);
725724
return info;
726725
}
727726

@@ -775,6 +774,7 @@ class Spawner {
775774
assert(info.appRootPathsInsideChroot.back() == info.appRootInsideChroot);
776775
}
777776

777+
#ifdef false
778778
void inferApplicationInfo(SpawnPreparationInfo &info) const {
779779
info.codeRevision = readFromRevisionFile(info);
780780
if (info.codeRevision.empty()) {
@@ -817,6 +817,7 @@ class Spawner {
817817
return string();
818818
}
819819
}
820+
#endif
820821

821822
bool shouldLoadShellEnvvars(const Options &options, const SpawnPreparationInfo &preparation) const {
822823
if (options.loadShellEnvvars) {

0 commit comments

Comments
 (0)