Skip to content

Commit e9e88bb

Browse files
authored
update go version to 1.13 and fix lint test (#160)
1 parent 83fd88b commit e9e88bb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
GO_VERSION = 1.10
15+
GO_VERSION = 1.13
1616
VERSION = $(shell git tag|tail -n1)
1717
ifeq ($(VERSION),)
1818
VERSION = v0.0.0

chapi/chapiclient.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ func (chapiClient *Client) GetNetworks() (networks []*model.NetworkInterface, er
235235
log.Error(errResp.Info)
236236
return nil, errors.New(errResp.Info)
237237
}
238-
log.Errorf("GetNetworks Err :", err.Error())
238+
log.Errorf("GetNetworks Err : %s", err.Error())
239239
return nil, err
240240
}
241241

@@ -521,7 +521,7 @@ func (chapiClient *Client) UnmountDevice(volume *model.Volume) error {
521521

522522
// Unmount make a DELETE request to chapi to unmount filesystem on the host
523523
func (chapiClient *Client) Unmount(reqMount *model.Mount, respMount *model.Mount) (err error) {
524-
log.Trace(">>>>> Unmount called on %s", reqMount.Mountpoint)
524+
log.Tracef(">>>>> Unmount called on %s", reqMount.Mountpoint)
525525
defer log.Trace("<<<<< Unmount")
526526
// fetch host ID
527527
err = chapiClient.cacheHostID()

0 commit comments

Comments
 (0)