forked from PelicanPlatform/pelican
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unmarshal Capabilities correctly in all structs that use them
Instead of targeting NamespaceAdV2 like I did previously, this change moves the unmarshal logic to the level of the Capabilities struct. Why I didn't do that in the first place? I couldn't tell ya In addition, I now test that JSON for ServerAd and OriginAdvertiseV2 (which may also arrive to the Director with old/new capabilities) unmarshal correctly.
- Loading branch information
1 parent
8e17764
commit 38bcb71
Showing
2 changed files
with
102 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters