File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -79,11 +79,9 @@ func getDirectDeploymentVariableValue(value DirectDeploymentVariableValue) (api.
7979
8080 valueData , err := json .Marshal (value .Value )
8181 if err != nil {
82- log .Error ("Failed to marshal direct value" , "error" , err )
8382 return api.DirectDeploymentVariableValue {}, err
8483 }
8584 if err := directValue .Value .UnmarshalJSON (valueData ); err != nil {
86- log .Error ("Failed to unmarshal direct value" , "error" , err )
8785 return api.DirectDeploymentVariableValue {}, err
8886 }
8987 return directValue , nil
@@ -101,11 +99,9 @@ func getReferenceDeploymentVariableValue(value ReferenceDeploymentVariableValue)
10199 referenceValue .DefaultValue = & api.ReferenceDeploymentVariableValue_DefaultValue {}
102100 valueData , err := json .Marshal (value .DefaultValue )
103101 if err != nil {
104- log .Error ("Failed to marshal default value" , "error" , err )
105102 return api.ReferenceDeploymentVariableValue {}, err
106103 }
107104 if err := referenceValue .DefaultValue .UnmarshalJSON (valueData ); err != nil {
108- log .Error ("Failed to unmarshal default value" , "error" , err )
109105 return api.ReferenceDeploymentVariableValue {}, err
110106 }
111107 }
You can’t perform that action at this time.
0 commit comments