Skip to content

Commit

Permalink
client version 1.23 is too old. Minimum supported API version is 1.24 (
Browse files Browse the repository at this point in the history
  • Loading branch information
NehaNaithani authored Feb 5, 2024
1 parent c8bc43b commit fb2be3d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ private static void updateAutomaticConfigParams() {
monitorContainersStatusFreqSeconds = 30;
monitorRegistriesStatusFreqSeconds = 120;
getUsageDataFreqSeconds = 20;
dockerApiVersion = "1.23";
dockerApiVersion = "1.24";
setSystemTimeFreqSeconds = 60;
monitorSshTunnelStatusFreqSeconds = 30;
break;
Expand All @@ -170,7 +170,7 @@ private static void updateAutomaticConfigParams() {
monitorContainersStatusFreqSeconds = 10;
monitorRegistriesStatusFreqSeconds = 60;
getUsageDataFreqSeconds = 5;
dockerApiVersion = "1.23";
dockerApiVersion = "1.24";
setSystemTimeFreqSeconds = 60;
monitorSshTunnelStatusFreqSeconds = 10;
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ public void testDefaultConfigurationSettings() {
initializeConfiguration();
assertEquals(60, Configuration.getPingControllerFreqSeconds());
assertEquals(1, Configuration.getSpeedCalculationFreqMinutes());
assertEquals("1.23", Configuration.getDockerApiVersion());
assertEquals("1.24", Configuration.getDockerApiVersion());
assertEquals(60, Configuration.getSetSystemTimeFreqSeconds());
assertEquals("/etc/iofog-agent/cert.crt", Configuration.getControllerCert());
assertEquals("http://localhost:54421/api/v3/",Configuration.getControllerUrl());
Expand Down

0 comments on commit fb2be3d

Please sign in to comment.