From ce969e84540dfecf249f276119ceb1d062a68b3e Mon Sep 17 00:00:00 2001 From: Jan Kubalek Date: Mon, 13 Jan 2025 19:01:09 +0100 Subject: [PATCH] Remove unused constants --- modules/bringauto_package/PlatformString.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/bringauto_package/PlatformString.go b/modules/bringauto_package/PlatformString.go index a9b7376..c132b20 100644 --- a/modules/bringauto_package/PlatformString.go +++ b/modules/bringauto_package/PlatformString.go @@ -25,10 +25,6 @@ const ( ModeAnyMachine = "any_machine" // ModeAuto compute platform string automatically by lsb_release and uname ModeAuto = "auto" - // NumberOfTriesForFakeCommands try to call fake lsb_release multiple times if fails. - // For same reason the fake lsb_release fail 1 of 3 (max). It's not clear why. - // We choose 5 as a good compromise: 3 + 1 + 1 - NumberOfTriesForFakeCommands = 5 ) // PlatformString represents standard platform string