Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(550)

Side by Side Diff: common/api/dm/service/v1/finish_attempt_normalize.go

Issue 1537883002: Initial distributor implementation (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-go@master
Patch Set: fix imports and make dummy.go a real file Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « common/api/dm/service/v1/finish_attempt.pb.go ('k') | common/api/dm/service/v1/gen.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2016 The LUCI Authors. All rights reserved.
2 // Use of this source code is governed under the Apache License, Version 2.0
3 // that can be found in the LICENSE file.
4
5 package dm
6
7 // Normalize returns an error iff the ActivateExecutionReq has bad form (nils,
8 // insufficient activation token length, etc.
9 func (a *FinishAttemptReq) Normalize() error {
10 if err := a.Auth.Normalize(); err != nil {
11 return err
12 }
13 return nil
14 }
OLDNEW
« no previous file with comments | « common/api/dm/service/v1/finish_attempt.pb.go ('k') | common/api/dm/service/v1/gen.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698