mirror of
https://github.com/paralus/paralus.git
synced 2026-08-24 15:47:19 +00:00
Fix string formatting in tests
This commit is contained in:
@@ -43,8 +43,8 @@ func New(cs service.ClusterService) Notifier {
|
||||
}
|
||||
}
|
||||
|
||||
func KeyFromMeta(meta commonv3.Metadata) string {
|
||||
return fmt.Sprintf("%d/%d/%d/%s", meta.Partner, meta.Organization, meta.Project, meta.Name)
|
||||
func KeyFromMeta(meta *commonv3.Metadata) string {
|
||||
return fmt.Sprintf("%s/%s/%s/%s", meta.Partner, meta.Organization, meta.Project, meta.Name)
|
||||
}
|
||||
|
||||
func MetaFromKey(key string) (meta commonv3.Metadata) {
|
||||
|
||||
Reference in New Issue
Block a user