Skip to content

Commit

Permalink
fix external get metadata (#1162)
Browse files Browse the repository at this point in the history
Signed-off-by: silenceper <[email protected]>
  • Loading branch information
silenceper authored Sep 16, 2020
1 parent 45a6997 commit cb84728
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/scalers/external_scaler.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,9 @@ func NewExternalScaler(name, namespace string, metadata, resolvedEnv map[string]
return &externalScaler{
metadata: meta,
scaledObjectRef: pb.ScaledObjectRef{
Name: name,
Namespace: namespace,
Name: name,
Namespace: namespace,
ScalerMetadata: meta.originalMetadata,
},
}, nil
}
Expand Down

0 comments on commit cb84728

Please sign in to comment.