fix external get metadata
@@ -57,6 +57,7 @@ func NewExternalScaler(name, namespace string, metadata, resolvedEnv map[string]
scaledObjectRef: pb.ScaledObjectRef{
Name: name,
Namespace: namespace,
+ ScalerMetadata: meta.originalMetadata,
},
}, nil
}
