-
Notifications
You must be signed in to change notification settings - Fork 344
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable archive button if archive storage is enabled #303
Enable archive button if archive storage is enabled #303
Conversation
Signed-off-by: Pavol Loffay <[email protected]>
Signed-off-by: Pavol Loffay <[email protected]>
Signed-off-by: Pavol Loffay <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #303 +/- ##
==========================================
+ Coverage 88.56% 88.63% +0.06%
==========================================
Files 70 70
Lines 3121 3140 +19
==========================================
+ Hits 2764 2783 +19
Misses 244 244
Partials 113 113
Continue to review full report at Codecov.
|
@@ -39,3 +39,12 @@ func (o FreeForm) MarshalJSON() ([]byte, error) { | |||
func (o FreeForm) IsEmpty() bool { | |||
return len(o.json) == 0 || string(o.json) == "{}" | |||
} | |||
|
|||
// GetMap returns a map created from json | |||
func (o FreeForm) GetMap() (map[string]interface{}, error) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a note...
I was not able to add map[string]interface{}
to spec because deepcopy does not support it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah yes - that rings a bell.
No description provided.