Skip to content

Commit d87fd73

Browse files
committed
fix addLatestTagSuffix
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
1 parent f1a39d9 commit d87fd73

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func (cmd *buildCommand) Run(args []string) (err error) {
7878
}
7979

8080
// Add the latest lag if they did not provide one.
81-
addLatestTagSuffix(cmd.tag)
81+
cmd.tag = addLatestTagSuffix(cmd.tag)
8282

8383
// Create the context.
8484
ctx := appcontext.Context()

push.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ func (cmd *pushCommand) Run(args []string) (err error) {
3737
// Get the specified image.
3838
cmd.image = args[0]
3939
// Add the latest lag if they did not provide one.
40-
addLatestTagSuffix(cmd.image)
40+
cmd.image = addLatestTagSuffix(cmd.image)
4141

4242
// Create the context.
4343
ctx := appcontext.Context()

tag.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ func (cmd *tagCommand) Run(args []string) (err error) {
4040
cmd.image = args[0]
4141
cmd.target = args[1]
4242
// Add the latest lag if they did not provide one.
43-
addLatestTagSuffix(cmd.image)
44-
addLatestTagSuffix(cmd.target)
43+
cmd.image = addLatestTagSuffix(cmd.image)
44+
cmd.target = addLatestTagSuffix(cmd.target)
4545

4646
// Create the context.
4747
ctx := appcontext.Context()

0 commit comments

Comments
 (0)