Skip to content

Commit 8f6fc84

Browse files
author
Christoph Bühler
committed
refactor: use ushort instead of int for watcher timeout seconds
1 parent f7566b8 commit 8f6fc84

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/KubeOps/Operator/OperatorSettings.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ public sealed class OperatorSettings
5858
/// </summary>
5959
public ushort LeaderElectionLeaseDuration { get; set; } = 30;
6060

61-
/// <summary>
62-
/// The timeout in seconds which the watcher has (after this timeout, the server will close the connection).
61+
/// <summary>
62+
/// The timeout in seconds which the watcher has (after this timeout, the server will close the connection).
6363
/// </summary>
64-
public int WatcherHttpTimeout { get; set; } = 60;
64+
public ushort WatcherHttpTimeout { get; set; } = 60;
6565
}
6666
}

0 commit comments

Comments
 (0)