Skip to content

Commit

Permalink
fix: firehose image name (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
spy16 authored Mar 17, 2023
1 parent 26d5226 commit ab5b2dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions modules/firehose/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -214,12 +214,12 @@ func (*firehoseDriver) podDetails(ctx context.Context, res module.ExpandedResour

var conf Config
if err := json.Unmarshal(r.Spec.Configs, &conf); err != nil {
return nil, errors.ErrInvalid.WithMsgf("invalid config json: %v", err)
return nil, errors.ErrInvalid.WithMsgf("invalid config json").WithCausef(err.Error())
}

var kubeOut kubernetes.Output
if err := json.Unmarshal(res.Dependencies[keyKubeDependency].Output, &kubeOut); err != nil {
return nil, err
return nil, errors.ErrInternal.WithMsgf("invalid kube out").WithCausef(err.Error())
}

hc, err := getHelmReleaseConf(r, conf)
Expand Down
4 changes: 2 additions & 2 deletions modules/firehose/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,10 @@ var Module = module.Descriptor{
},
DriverFactory: func(conf json.RawMessage) (module.Driver, error) {
driverCfg := driverConfig{
ChartRepository: "https://goto.github.io/charts/",
ChartRepository: "https://odpf.github.io/charts/",
ChartName: "firehose",
ChartVersion: "0.1.3",
ImageRepository: "goto/firehose",
ImageRepository: "gotocompany/firehose",
ImageName: "firehose",
ImageTag: "latest",
Namespace: "firehose",
Expand Down

0 comments on commit ab5b2dc

Please sign in to comment.