File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/agent/Core/SpawningKit Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff 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 ) {
You can’t perform that action at this time.
0 commit comments