Skip to content

Commit

Permalink
clean: operator code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
CarlosLanderas committed Sep 10, 2020
1 parent 6ad2d06 commit 0e35c7c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ internal class ClusterServiceWatcher
private readonly ILogger<K8sOperator> _logger;
private readonly OperatorDiagnostics _diagnostics;
private readonly NotificationHandler _notificationHandler;
private readonly IHttpClientFactory _httpClientFactory;
private Watcher<V1Service> _watcher;
public ClusterServiceWatcher(
IKubernetes client,
Expand All @@ -30,8 +29,6 @@ public ClusterServiceWatcher(
_client = client ?? throw new ArgumentNullException(nameof(client));
_logger = logger ?? throw new ArgumentNullException(nameof(logger));
_diagnostics = diagnostics ?? throw new ArgumentNullException(nameof(diagnostics));
_notificationHandler = notificationHandler;
_httpClientFactory = httpClientFactory ?? throw new ArgumentNullException(nameof(httpClientFactory));
_notificationHandler = notificationHandler ?? throw new ArgumentNullException(nameof(notificationHandler));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ public NamespacedServiceWatcher(
_client = client ?? throw new ArgumentNullException(nameof(client));
_logger = logger ?? throw new ArgumentNullException(nameof(logger));
_diagnostics = diagnostics ?? throw new ArgumentNullException(nameof(diagnostics));
_notificationHandler = notificationHandler;
_httpClientFactory = httpClientFactory ?? throw new ArgumentNullException(nameof(httpClientFactory));
_notificationHandler = notificationHandler ?? throw new ArgumentNullException(nameof(notificationHandler));
}
Expand Down

0 comments on commit 0e35c7c

Please sign in to comment.