Use the more specific label name of "storage.pinniped.dev/type"

Instead of the less specific "storage.pinniped.dev"

Signed-off-by: Ryan Richard <richardry@vmware.com>
This commit is contained in:
Aram Price
2020-12-04 14:39:11 -08:00
committed by Ryan Richard
parent ac83633888
commit 26a8747509
7 changed files with 64 additions and 64 deletions
@@ -49,7 +49,7 @@ func TestAuthorizationCodeStorage(t *testing.T) {
Name: "pinniped-storage-authcode-pwu5zs7lekbhnln2w4",
ResourceVersion: "",
Labels: map[string]string{
"storage.pinniped.dev": "authcode",
"storage.pinniped.dev/type": "authcode",
},
},
Data: map[string][]byte{
@@ -65,7 +65,7 @@ func TestAuthorizationCodeStorage(t *testing.T) {
Name: "pinniped-storage-authcode-pwu5zs7lekbhnln2w4",
ResourceVersion: "",
Labels: map[string]string{
"storage.pinniped.dev": "authcode",
"storage.pinniped.dev/type": "authcode",
},
},
Data: map[string][]byte{
@@ -189,7 +189,7 @@ func TestWrongVersion(t *testing.T) {
Name: "pinniped-storage-authcode-pwu5zs7lekbhnln2w4",
ResourceVersion: "",
Labels: map[string]string{
"storage.pinniped.dev": "authcode",
"storage.pinniped.dev/type": "authcode",
},
},
Data: map[string][]byte{
@@ -217,7 +217,7 @@ func TestNilSessionRequest(t *testing.T) {
Name: "pinniped-storage-authcode-pwu5zs7lekbhnln2w4",
ResourceVersion: "",
Labels: map[string]string{
"storage.pinniped.dev": "authcode",
"storage.pinniped.dev/type": "authcode",
},
},
Data: map[string][]byte{