Skip to content

Commit

Permalink
Update the code to accept k8s 1.14.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ingvagabund committed Jun 2, 2019
1 parent 4ff1ac8 commit bcd833a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/manager/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func initActuator(mgr manager.Manager) (*machineactuator.Actuator, error) {
Config: mgr.GetConfig(),
AwsClientBuilder: awsclient.NewClient,
Codec: codec,
EventRecorder: mgr.GetRecorder("aws-controller"),
EventRecorder: mgr.GetEventRecorderFor("aws-controller"),
}

actuator, err := machineactuator.NewActuator(params)
Expand Down
2 changes: 1 addition & 1 deletion pkg/apis/awsproviderconfig/v1beta1/register.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import (
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/apimachinery/pkg/runtime/schema"
"k8s.io/apimachinery/pkg/runtime/serializer"
"sigs.k8s.io/controller-runtime/pkg/runtime/scheme"
"sigs.k8s.io/controller-runtime/pkg/scheme"
)

var (
Expand Down

0 comments on commit bcd833a

Please sign in to comment.