[VOL-5486] Fix deprecated versions
Change-Id: Ia8cf5de26cc045c8519da848cd4314459a331e16
Signed-off-by: Abhay Kumar <abhay.kumar@radisys.com>
diff --git a/vendor/go.uber.org/atomic/string.go b/vendor/go.uber.org/atomic/string.go
index 80df93d..225b7a2 100644
--- a/vendor/go.uber.org/atomic/string.go
+++ b/vendor/go.uber.org/atomic/string.go
@@ -1,6 +1,6 @@
// @generated Code generated by gen-atomicwrapper.
-// Copyright (c) 2020-2021 Uber Technologies, Inc.
+// Copyright (c) 2020 Uber Technologies, Inc.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
@@ -32,10 +32,10 @@
var _zeroString string
// NewString creates a new String.
-func NewString(val string) *String {
+func NewString(v string) *String {
x := &String{}
- if val != _zeroString {
- x.Store(val)
+ if v != _zeroString {
+ x.Store(v)
}
return x
}
@@ -49,6 +49,6 @@
}
// Store atomically stores the passed string.
-func (x *String) Store(val string) {
- x.v.Store(val)
+func (x *String) Store(v string) {
+ x.v.Store(v)
}