Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

dep ensure exits with status zero when it does nothing #358

Description

@dcheney-atlassian
% mkdir $GOPATH/src/github.com/atlassian/demo
% cd $GOPATH/src/github.com/atlassian/demo
% git init
% dep init
% echo $?
0

So, this succeeded ? Turns out no

% cat lock.json 
{
    "memo": "dab02b24a752518fc799f3b27b2049c636953aabf69ad62eeb5f354c610bba7c",
    "projects": []
}

hmm, no client-go here

% cat manifest.json 
{
    "dependencies": {
        "k8s.io/client-go": {
            "version": "^2.0.0"
        }
    }
}

but it is here

% ls vendor/
%

but the vendor directory is empty.

How can I make dep download the version 2.0.0 of the k8s/client-go library so I can use it?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions