Skip to content

Commit 90e9d45

Browse files
committed
Address comments
Signed-off-by: Jason Parraga <[email protected]>
1 parent d0d1a6c commit 90e9d45

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

internal/controller/install/armadaserver_controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ func TestSchedulerReconciler_createIngress(t *testing.T) {
433433

434434
input := v1alpha1.ArmadaServer{
435435
TypeMeta: metav1.TypeMeta{
436-
Kind: "armadaserver",
436+
Kind: "ArmadaServer",
437437
APIVersion: "install.armadaproject.io/v1alpha1",
438438
},
439439
ObjectMeta: metav1.ObjectMeta{

internal/controller/install/binoculars_controller_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ func TestSchedulerReconciler_createBinocularsIngress(t *testing.T) {
481481

482482
input := v1alpha1.Binoculars{
483483
TypeMeta: metav1.TypeMeta{
484-
Kind: "binoculars",
484+
Kind: "Binoculars",
485485
APIVersion: "install.armadaproject.io/v1alpha1",
486486
},
487487
ObjectMeta: metav1.ObjectMeta{

internal/controller/install/common_helpers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ func ExtractPulsarConfig(config runtime.RawExtension) (PulsarConfig, error) {
317317
if err != nil {
318318
return PulsarConfig{}, err
319319
}
320-
return asConfig.Pulsar, err
320+
return asConfig.Pulsar, nil
321321
}
322322

323323
// GetServerScheme returns the URI scheme for the grpc server

0 commit comments

Comments
 (0)